Class: Saper::Actions::RunRecipeAndSave

Inherits:
Saper::Action show all
Defined in:
lib/saper/actions/run_recipe_and_save.rb

Instance Attribute Summary

Attributes inherited from Saper::Action

#options

Instance Method Summary collapse

Methods inherited from Saper::Action

[], accepts, accepts?, #args, argument, arguments, #block, inherited, #initialize, #multiple?, #name, #namespace, new, returns_multiple_items!, returns_multiple_items?, #run, run, #serialize, subclasses, #to_string, type, unserialize

Constructor Details

This class inherits a constructor from Saper::Action

Instance Method Details

#requiresObject

Overrides default logic



16
17
18
# File 'lib/saper/actions/run_recipe_and_save.rb', line 16

def requires
  args.last.input_required
end