Class: Itamae::Resource::Execute
- Defined in:
- lib/itamae/resource/execute.rb
Instance Attribute Summary
Attributes inherited from Base
#attributes, #current_attributes, #notifications, #recipe, #resource_name, #subscriptions, #updated
Instance Method Summary collapse
Methods inherited from Base
#action_nothing, define_attribute, inherited, #initialize, #resource_type, #run
Constructor Details
This class inherits a constructor from Itamae::Resource::Base
Instance Method Details
#action_run(options) ⇒ Object
10 11 12 13 |
# File 'lib/itamae/resource/execute.rb', line 10 def action_run() run_command(attributes.command, cwd: attributes.cwd) updated! end |