-
-
Save tenderlove/982eb6559032e8cda543112d688bbaf9 to your computer and use it in GitHub Desktop.
This file contains 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 characters
require 'active_support/all' | |
module A | |
extend ActiveSupport::Concern | |
module ClassMethods | |
def omg | |
end | |
end | |
end | |
module B | |
include A | |
end | |
class Foo | |
include A | |
end | |
class Bar | |
include B | |
end | |
Foo.omg | |
Bar.omg # breaks |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment