Method: Henk::Instance#run_commit

Defined in:
lib/henk/instance.rb

#run_commit(*args) {|step| ... } ⇒ Object

Yields:

  • (step)


32
33
34
35
36
37
# File 'lib/henk/instance.rb', line 32

def run_commit(*args)
  step = Step.new(self, *args)
  yield step if block_given?
  step.perform!
  step
end