File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -45,13 +45,13 @@ def errors
4545 # @return [Teckel::Chain::Result] The result object wrapping
4646 # the result value, the success state and last executed step.
4747 def call ( input = nil )
48- default_settings = self . default_settings
48+ default_settings = default_settings ( )
4949
5050 runner =
5151 if default_settings
52- self . runner . new ( self , default_settings )
52+ runner ( ) . new ( self , default_settings )
5353 else
54- self . runner . new ( self )
54+ runner ( ) . new ( self )
5555 end
5656
5757 if around
@@ -67,9 +67,9 @@ def call(input = nil)
6767 # @return [#call] A callable, either a {Teckel::Chain::Runner} or,
6868 # when configured with an around hook, a +Proc+
6969 def with ( settings )
70- runner = self . runner . new ( self , settings )
70+ runner = runner ( ) . new ( self , settings )
7171 if around
72- around . curry ( 2 ) [ runner ]
72+ around . curry [ runner ]
7373 else
7474 runner
7575 end
You can’t perform that action at this time.
0 commit comments