Created
October 23, 2017 15:29
-
-
Save alfie-max/98ae9aeb8bee273b6346e3414a24b7b5 to your computer and use it in GitHub Desktop.
Revisions
-
alfie-max created this gist
Oct 23, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,20 @@ module Foo def self.included(base) base.class_eval do def self.method_injected_by_foo ... end end end end module Bar include Foo def self.included(base) base.method_injected_by_foo end end class Host include Bar end