Class: SshyGuy::Command
- Inherits:
-
Object
- Object
- SshyGuy::Command
- Defined in:
- lib/sshyguy/command.rb
Instance Attribute Summary collapse
-
#to_command ⇒ Object
readonly
Returns the value of attribute to_command.
Instance Method Summary collapse
-
#initialize(config) ⇒ Command
constructor
A new instance of Command.
Constructor Details
#initialize(config) ⇒ Command
Returns a new instance of Command.
6 7 8 |
# File 'lib/sshyguy/command.rb', line 6 def initialize(config) @config = config end |
Instance Attribute Details
#to_command ⇒ Object (readonly)
Returns the value of attribute to_command.
5 6 7 |
# File 'lib/sshyguy/command.rb', line 5 def to_command @to_command end |