Exception: Toy::InvalidKeyFactory
- Defined in:
- lib/toy/exceptions.rb
Instance Method Summary collapse
-
#initialize(name_or_factory) ⇒ InvalidKeyFactory
constructor
A new instance of InvalidKeyFactory.
Constructor Details
#initialize(name_or_factory) ⇒ InvalidKeyFactory
Returns a new instance of InvalidKeyFactory.
21 22 23 |
# File 'lib/toy/exceptions.rb', line 21 def initialize(name_or_factory) super("#{name_or_factory.inspect} is not a valid name and did not respond to next_key and key_type") end |