Exception: Guise::InvalidGuiseValue
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- Guise::InvalidGuiseValue
- Defined in:
- lib/guise/errors.rb
Instance Method Summary collapse
-
#initialize(guise_value, klass) ⇒ InvalidGuiseValue
constructor
A new instance of InvalidGuiseValue.
- #message ⇒ Object
Constructor Details
#initialize(guise_value, klass) ⇒ InvalidGuiseValue
Returns a new instance of InvalidGuiseValue.
23 24 25 26 |
# File 'lib/guise/errors.rb', line 23 def initialize(guise_value, klass) @guise_value = guise_value @klass = klass end |
Instance Method Details
#message ⇒ Object
28 29 30 |
# File 'lib/guise/errors.rb', line 28 def "`#{guise_value}' is not a defined guise value for #{klass}" end |