Exception: FluShot::Sneeze

Inherits:
StandardError
  • Object
show all
Defined in:
lib/flu_shot/sneeze.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(exception) ⇒ Sneeze

Returns a new instance of Sneeze.



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

def initialize(exception)
  @wrapped_exception = exception
end

Instance Attribute Details

#wrapped_exceptionObject (readonly)

Returns the value of attribute wrapped_exception.



7
8
9
# File 'lib/flu_shot/sneeze.rb', line 7

def wrapped_exception
  @wrapped_exception
end