lib/dependency_injection/container.rb in dependency_injection-0.2.0 vs lib/dependency_injection/container.rb in dependency_injection-0.3.0

- old
+ new

@@ -21,10 +21,10 @@ end end def register(name, klass_name, lazy=false) definition = lazy ? LazyDefinition.new(klass_name, self) : Definition.new(klass_name, self) - @definitions[name] =definition + @definitions[name] = definition end def register_alias(name, alias_definition_name) @definitions[name] = AliasDefinition.new(alias_definition_name, self) end