Exception: Daredevil::Errors::UnknownAction
- Inherits:
-
StandardError
- Object
- StandardError
- Daredevil::Errors::UnknownAction
- Defined in:
- lib/daredevil/errors.rb
Instance Attribute Summary collapse
-
#action ⇒ Object
readonly
Returns the value of attribute action.
Instance Method Summary collapse
-
#initialize(action) ⇒ UnknownAction
constructor
A new instance of UnknownAction.
- #message ⇒ Object
Constructor Details
#initialize(action) ⇒ UnknownAction
Returns a new instance of UnknownAction.
30 31 32 33 |
# File 'lib/daredevil/errors.rb', line 30 def initialize(action) @action = action super() end |
Instance Attribute Details
#action ⇒ Object (readonly)
Returns the value of attribute action.
28 29 30 |
# File 'lib/daredevil/errors.rb', line 28 def action @action end |