lib/hexx/dependable.rb in hexx-6.0.3 vs lib/hexx/dependable.rb in hexx-7.0.0

- old
+ new

@@ -43,9 +43,9 @@ # @param [String, Symbol] name The name of the dependency. # @param [Hash] options ({}) The dependency declaration options. # @option options [String, Symbol, Class] :default (nil) Optional default # implementation for the dependency. def depends_on(name, default: nil) - Helpers::Dependency.add self, name, default + Creators::Dependency.add self, name, default end end end