Exception: ShellCommandFailure

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(result) ⇒ ShellCommandFailure

Returns a new instance of ShellCommandFailure.



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

def initialize(result)
	@result = result
end

Instance Attribute Details

#resultObject

Returns the value of attribute result.



2
3
4
# File 'lib/shell_commands/shell_command_failure.rb', line 2

def result
  @result
end