Exception: VCDry::InvalidEnumValueError
- Defined in:
- lib/vcdry/error.rb
Instance Method Summary collapse
-
#initialize(name, values) ⇒ InvalidEnumValueError
constructor
A new instance of InvalidEnumValueError.
Constructor Details
#initialize(name, values) ⇒ InvalidEnumValueError
Returns a new instance of InvalidEnumValueError.
5 6 7 |
# File 'lib/vcdry/error.rb', line 5 def initialize(name, values) super("value for #{name} must be one of '#{values.join("', '")}'") end |