Exception: Hem::MissingArgumentsError
- Defined in:
- lib/hem/errors.rb
Instance Attribute Summary collapse
-
#command ⇒ Object
Returns the value of attribute command.
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(command, args) ⇒ MissingArgumentsError
constructor
A new instance of MissingArgumentsError.
Constructor Details
#initialize(command, args) ⇒ MissingArgumentsError
Returns a new instance of MissingArgumentsError.
42 43 44 45 46 |
# File 'lib/hem/errors.rb', line 42 def initialize command, args @command = command @args = args super("Not enough arguments for #{command}") end |
Instance Attribute Details
#command ⇒ Object
Returns the value of attribute command.
41 42 43 |
# File 'lib/hem/errors.rb', line 41 def command @command end |