Exception: CmdError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(command) ⇒ CmdError

Returns a new instance of CmdError.



7
8
9
# File 'lib/errors.rb', line 7

def initialize(command)
  @command = command
end

Instance Attribute Details

#commandObject (readonly)

Returns the value of attribute command.



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

def command
  @command
end