lib/arli/helpers/inherited.rb in arli-1.2.1 vs lib/arli/helpers/inherited.rb in arli-1.3.0
- old
+ new
@@ -34,9 +34,10 @@
end
end
end
def self.included(base)
+ # This works for both classes and modules
base.instance_eval do
class << self
include(::Arli::Helpers::Inherited::ClassMethods)
end
end