lib/invokr/dependency_injection.rb in invokr-0.9.0 vs lib/invokr/dependency_injection.rb in invokr-0.9.1
- old
+ new
@@ -73,11 +73,11 @@
:klass => klass,
:using => self,
)
end
- def resolve val
- @hsh.fetch val
+ def resolve val, &block
+ @hsh.fetch val, &block
end
end
end
end