test/dependency_injection_test.rb in invokr-0.9.6 vs test/dependency_injection_test.rb in invokr-0.9.7
- old
+ new
@@ -59,7 +59,11 @@
end
def call foo, bar
OpenStruct.new foo: foo, bar: bar
end
+
+ def to_proc
+ method :call
+ end
end
end