Skip to content

Instantly share code, notes, and snippets.

@tai2
Created January 27, 2018 14:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tai2/d86af2f593bf789acc303ddbbdf979c0 to your computer and use it in GitHub Desktop.
Save tai2/d86af2f593bf789acc303ddbbdf979c0 to your computer and use it in GitHub Desktop.
module A
include B
def f()
utility()
g()
end
private
def utility()
# ...
end
end
module B
def g()
utility()
end
private
def utility()
# ...
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment