Class: Muwu::ProjectException::OptionValueNotUnderstood
- Inherits:
-
Object
- Object
- Muwu::ProjectException::OptionValueNotUnderstood
- Defined in:
- lib/muwu/project_exception/option_value_not_understood.rb
Instance Method Summary collapse
-
#initialize(key, value) ⇒ OptionValueNotUnderstood
constructor
A new instance of OptionValueNotUnderstood.
- #report ⇒ Object
- #type ⇒ Object
Constructor Details
#initialize(key, value) ⇒ OptionValueNotUnderstood
Returns a new instance of OptionValueNotUnderstood.
6 7 8 9 |
# File 'lib/muwu/project_exception/option_value_not_understood.rb', line 6 def initialize(key, value) @key = key @value = value end |
Instance Method Details
#report ⇒ Object
12 13 14 |
# File 'lib/muwu/project_exception/option_value_not_understood.rb', line 12 def report "For option key `#{@key}`, the value `#{@value}` is not understood." end |
#type ⇒ Object
17 18 19 |
# File 'lib/muwu/project_exception/option_value_not_understood.rb', line 17 def type :warning end |