lib/luna_park/extensions/injector/dependencies.rb in luna_park-0.11.1 vs lib/luna_park/extensions/injector/dependencies.rb in luna_park-0.11.2
- old
+ new
@@ -60,8 +60,15 @@
def cache
@cache ||= {}
end
end
+
+ # @!parse include Injector::ClassMethods
+ # @!parse extend Injector::InstanceMethods
+ def self.included(base)
+ base.extend ClassMethods
+ base.include InstanceMethods
+ end
end
end
end