Class: Tenderloin::Config::ProvisioningConfig
- Defined in:
- lib/tenderloin/config.rb
Instance Attribute Summary collapse
-
#command ⇒ Object
Returns the value of attribute command.
-
#rsync ⇒ Object
Returns the value of attribute rsync.
-
#script ⇒ Object
Returns the value of attribute script.
Instance Method Summary collapse
Methods inherited from Base
#[], #instance_variables_hash, #to_json
Instance Attribute Details
#command ⇒ Object
Returns the value of attribute command.
110 111 112 |
# File 'lib/tenderloin/config.rb', line 110 def command @command end |
#rsync ⇒ Object
Returns the value of attribute rsync.
111 112 113 |
# File 'lib/tenderloin/config.rb', line 111 def rsync @rsync end |
#script ⇒ Object
Returns the value of attribute script.
109 110 111 |
# File 'lib/tenderloin/config.rb', line 109 def script @script end |
Instance Method Details
#enabled ⇒ Object
112 113 114 |
# File 'lib/tenderloin/config.rb', line 112 def enabled script || command || !rsync.empty? end |