lib/active_enumerable.rb in active_enumerable-0.2.0 vs lib/active_enumerable.rb in active_enumerable-1.0.0

- old
+ new

@@ -1,10 +1,9 @@ require "active_enumerable/version" require "active_enumerable/base" require "active_enumerable/record_not_found" require "active_enumerable/comparable" -require "active_enumerable/enumerable" require "active_enumerable/finder" require "active_enumerable/method_caller" require "active_enumerable/scope_method" require "active_enumerable/scopes" require "active_enumerable/where" @@ -17,13 +16,9 @@ include Comparable include Queries include Scopes include EnglishDsl - module ClassMethods - include Scopes::ClassMethods - end - def self.included(base) - base.extend(ClassMethods) + base.extend(Scopes::ClassMethods) end end