class Itamae::Resource::Execute
Public Instance Methods
action_run(options)
click to toggle source
# File lib/itamae/resource/execute.rb, line 18 def action_run(options) run_command(attributes.command) updated! end
pre_action()
click to toggle source
# File lib/itamae/resource/execute.rb, line 7 def pre_action case @current_action when :run attributes.executed = true end end
set_current_attributes()
click to toggle source
# File lib/itamae/resource/execute.rb, line 14 def set_current_attributes current.executed = false end