Method: William::Commands#initialize

Defined in:
lib/william/commands.rb

#initialize(host, debug = false) ⇒ Commands

Returns a new instance of Commands.



4
5
6
7
8
9
10
# File 'lib/william/commands.rb', line 4

def initialize(host, debug=false)
  @debug = debug
  @host = host
  @current_command = nil
  @current_command_type = nil
  @start_pwd = @current_pwd = _get_pwd
end