Skip to content

Instantly share code, notes, and snippets.

@tenderlove
Created June 30, 2016 15:26
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 tenderlove/982eb6559032e8cda543112d688bbaf9 to your computer and use it in GitHub Desktop.
Save tenderlove/982eb6559032e8cda543112d688bbaf9 to your computer and use it in GitHub Desktop.
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