Exception: ShellArgumentException
- Inherits:
-
Exception
- Object
- Exception
- ShellArgumentException
- Defined in:
- lib/shell_argument_exception.rb
Instance Attribute Summary collapse
-
#command ⇒ Object
Returns the value of attribute command.
Instance Method Summary collapse
-
#initialize(command) ⇒ ShellArgumentException
constructor
A new instance of ShellArgumentException.
Constructor Details
#initialize(command) ⇒ ShellArgumentException
Returns a new instance of ShellArgumentException.
5 6 7 |
# File 'lib/shell_argument_exception.rb', line 5 def initialize command @command = command end |
Instance Attribute Details
#command ⇒ Object
Returns the value of attribute command.
3 4 5 |
# File 'lib/shell_argument_exception.rb', line 3 def command @command end |