Class: SshyGuy::Command

Inherits:
Object
  • Object
show all
Defined in:
lib/sshyguy/command.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_commandObject (readonly)

Returns the value of attribute to_command.



5
6
7
# File 'lib/sshyguy/command.rb', line 5

def to_command
  @to_command
end