Exception: Kind::Validator::InvalidDefaultStrategy

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/kind/validator.rb

Instance Method Summary collapse

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