lib/grumlin/shortcuts/storage.rb in grumlin-0.22.4 vs lib/grumlin/shortcuts/storage.rb in grumlin-0.22.5

- old
+ new

@@ -34,11 +34,11 @@ @storage[name] = shortcut ac = action_class shortcut_methods_module.define_method(name) do |*args, **params| - next ac.new(name, args: args, params: params, previous_step: self) + next ac.new(name, args: args, params: params, previous_step: self, pool: Grumlin.default_pool) end extend_traversal_classes(shortcut) unless shortcut.lazy? end def add_from(other) @@ -50,10 +50,10 @@ def g __ end def __ - @__ ||= traversal_start_class.new + traversal_start_class.new(pool: Grumlin.default_pool) end def traversal_start_class @traversal_start_class ||= shortcut_aware_class(TraversalStart) end