Class: RemoteRun::Task
- Inherits:
-
Object
- Object
- RemoteRun::Task
- Defined in:
- lib/remote_run/task.rb
Instance Attribute Summary collapse
-
#command ⇒ Object
Returns the value of attribute command.
-
#host ⇒ Object
Returns the value of attribute host.
-
#pid ⇒ Object
Returns the value of attribute pid.
Instance Method Summary collapse
-
#initialize(command = nil) ⇒ Task
constructor
A new instance of Task.
Constructor Details
#initialize(command = nil) ⇒ Task
Returns a new instance of Task.
5 6 7 |
# File 'lib/remote_run/task.rb', line 5 def initialize(command = nil) @command = command end |
Instance Attribute Details
#command ⇒ Object
Returns the value of attribute command.
3 4 5 |
# File 'lib/remote_run/task.rb', line 3 def command @command end |
#host ⇒ Object
Returns the value of attribute host.
3 4 5 |
# File 'lib/remote_run/task.rb', line 3 def host @host end |
#pid ⇒ Object
Returns the value of attribute pid.
3 4 5 |
# File 'lib/remote_run/task.rb', line 3 def pid @pid end |