lib/grumlin/steppable.rb in grumlin-0.20.1 vs lib/grumlin/steppable.rb in grumlin-0.20.2

- old
+ new

@@ -11,11 +11,10 @@ ALL_STEPS = START_STEPS + CONFIGURATION_STEPS + REGULAR_STEPS def initialize return if respond_to?(:shortcuts) - raise RuntimerError, - "steppable must not be initialized directly, use Grumlin::Shortcuts::Storage#g or #__ instead" + raise "steppable must not be initialized directly, use Grumlin::Shortcuts::Storage#g or #__ instead" end ALL_STEPS.each do |step| define_method step do |*args, **params| shortcuts.action_class.new(step, args: args, params: params, previous_step: self)