Skip to content

Instantly share code, notes, and snippets.

Serge Balyuk bgipsy

Block or report user

Report or block bgipsy

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@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.