Exception: ShellArgumentException

Inherits:
Exception
  • Object
show all
Defined in:
lib/shell_argument_exception.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#commandObject

Returns the value of attribute command.



3
4
5
# File 'lib/shell_argument_exception.rb', line 3

def command
  @command
end