Skip to content

Instantly share code, notes, and snippets.

@bgipsy
bgipsy / gist:3413487
Created Aug 21, 2012
Aspects of Module included callback
View gist:3413487
# supporting the answer for http://stackoverflow.com/questions/11742890/merge-two-ruby-modules-but-not-include/12036994#12036994
module A
def a
puts "a"
end
end
module B
# note 'self.' part here, which makes method a module method
You can’t perform that action at this time.