Exception: Slayer::CommandFailureError

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(result) ⇒ CommandFailureError


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

def initialize(result)
  @result = result
  super
end

Instance Attribute Details

#resultObject (readonly)

Returns the value of attribute result


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

def result
  @result
end