Class: DamageControl::Publisher::Execute
- Defined in:
- lib/damagecontrol/publisher/ftp.rb,
lib/damagecontrol/publisher/scp.rb,
lib/damagecontrol/publisher/archive.rb,
lib/damagecontrol/publisher/execute.rb
Instance Attribute Summary collapse
-
#command_line ⇒ Object
Returns the value of attribute command_line.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize ⇒ Execute
constructor
A new instance of Execute.
-
#name ⇒ Object
register self.
- #publish(build) ⇒ Object
Methods inherited from Base
Constructor Details
#initialize ⇒ Execute
Returns a new instance of Execute.
33 34 35 |
# File 'lib/damagecontrol/publisher/execute.rb', line 33 def initialize @command_line = "echo \"The build label is $DAMAGECONTROL_BUILD_LABEL\"" end |
Instance Attribute Details
#command_line ⇒ Object
Returns the value of attribute command_line.
27 28 29 |
# File 'lib/damagecontrol/publisher/execute.rb', line 27 def command_line @command_line end |
Instance Method Details
#name ⇒ Object
register self
8 9 10 |
# File 'lib/damagecontrol/publisher/ftp.rb', line 8 def name "Execute" end |
#publish(build) ⇒ Object
12 13 |
# File 'lib/damagecontrol/publisher/ftp.rb', line 12 def publish(build) end |