Class: Cumuli::CLI::RemoteCommander
- Inherits:
-
Object
- Object
- Cumuli::CLI::RemoteCommander
- Defined in:
- lib/cumuli/cli/remote_commander.rb
Instance Attribute Summary collapse
-
#dir ⇒ Object
readonly
Returns the value of attribute dir.
-
#raw_command ⇒ Object
readonly
Returns the value of attribute raw_command.
Instance Method Summary collapse
- #command ⇒ Object
-
#initialize(command, dir) ⇒ RemoteCommander
constructor
A new instance of RemoteCommander.
- #perform ⇒ Object
Constructor Details
#initialize(command, dir) ⇒ RemoteCommander
Returns a new instance of RemoteCommander.
6 7 8 9 |
# File 'lib/cumuli/cli/remote_commander.rb', line 6 def initialize(command, dir) @raw_command = command @dir = dir end |
Instance Attribute Details
#dir ⇒ Object (readonly)
Returns the value of attribute dir.
4 5 6 |
# File 'lib/cumuli/cli/remote_commander.rb', line 4 def dir @dir end |
#raw_command ⇒ Object (readonly)
Returns the value of attribute raw_command.
4 5 6 |
# File 'lib/cumuli/cli/remote_commander.rb', line 4 def raw_command @raw_command end |