Class: Koch::Run

Inherits:
Resource show all
Defined in:
lib/koch/run.rb

Overview

A single command to run

Instance Attribute Summary

Attributes inherited from Resource

#changed, #name

Instance Method Summary collapse

Methods inherited from Resource

dsl_writer, #initialize

Constructor Details

This class inherits a constructor from Koch::Resource

Instance Method Details

#apply!Object



8
9
10
11
# File 'lib/koch/run.rb', line 8

def apply!
  @changed = true
  maybe(command || name)
end