Exception: Kind::Validator::InvalidDefaultStrategy
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- Kind::Validator::InvalidDefaultStrategy
- Defined in:
- lib/kind/validator.rb
Instance Method Summary collapse
-
#initialize(option) ⇒ InvalidDefaultStrategy
constructor
A new instance of InvalidDefaultStrategy.
Constructor Details
#initialize(option) ⇒ InvalidDefaultStrategy
Returns a new instance of InvalidDefaultStrategy.
23 24 25 |
# File 'lib/kind/validator.rb', line 23 def initialize(option) super "#{option.inspect} is an invalid option. Please use one of these: #{OPTIONS}" end |