Class: Interaktor::Error::OptionError
- Inherits:
-
Base
- Object
- Base
- Interaktor::Error::OptionError
- Defined in:
- lib/interaktor/error/option_error.rb
Direct Known Subclasses
Instance Attribute Summary collapse
- #options ⇒ Hash{Symbol=>Object} readonly
Instance Method Summary collapse
-
#initialize(interaktor, options) ⇒ OptionError
constructor
A new instance of OptionError.
- #message ⇒ Object
Constructor Details
#initialize(interaktor, options) ⇒ OptionError
Returns a new instance of OptionError.
7 8 9 10 11 |
# File 'lib/interaktor/error/option_error.rb', line 7 def initialize(interaktor, ) super(interaktor) @options = end |
Instance Attribute Details
#options ⇒ Hash{Symbol=>Object} (readonly)
3 4 5 |
# File 'lib/interaktor/error/option_error.rb', line 3 def @options end |
Instance Method Details
#message ⇒ Object
13 14 15 |
# File 'lib/interaktor/error/option_error.rb', line 13 def raise NotImplementedError end |