Class: Tenderloin::Config::ProvisioningConfig
- Inherits:
-
Object
- Object
- 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
Instance Attribute Details
#command ⇒ Object
Returns the value of attribute command.
104 105 106 |
# File 'lib/tenderloin/config.rb', line 104 def command @command end |
#rsync ⇒ Object
Returns the value of attribute rsync.
105 106 107 |
# File 'lib/tenderloin/config.rb', line 105 def rsync @rsync end |
#script ⇒ Object
Returns the value of attribute script.
103 104 105 |
# File 'lib/tenderloin/config.rb', line 103 def script @script end |
Instance Method Details
#enabled ⇒ Object
106 107 108 |
# File 'lib/tenderloin/config.rb', line 106 def enabled script || command || !rsync.empty? end |