Exception: Flipper::Registry::KeyNotFound
- Defined in:
- lib/flipper/registry.rb
Instance Attribute Summary collapse
-
#key ⇒ Object
readonly
Public: The key that was not found.
Instance Method Summary collapse
-
#initialize(key) ⇒ KeyNotFound
constructor
A new instance of KeyNotFound.
Constructor Details
#initialize(key) ⇒ KeyNotFound
Returns a new instance of KeyNotFound.
15 16 17 18 |
# File 'lib/flipper/registry.rb', line 15 def initialize(key) @key = key super("Key #{key.inspect} not found") end |
Instance Attribute Details
#key ⇒ Object (readonly)
Public: The key that was not found
13 14 15 |
# File 'lib/flipper/registry.rb', line 13 def key @key end |