Exception: DuplicateKeyException
- Inherits:
-
StandardError
- Object
- StandardError
- DuplicateKeyException
- Defined in:
- lib/ruby_screen/configuration/parser/nesting_hash.rb
Instance Attribute Summary collapse
-
#key ⇒ Object
readonly
Returns the value of attribute key.
Instance Method Summary collapse
-
#initialize(key) ⇒ DuplicateKeyException
constructor
A new instance of DuplicateKeyException.
Constructor Details
#initialize(key) ⇒ DuplicateKeyException
Returns a new instance of DuplicateKeyException.
31 32 33 |
# File 'lib/ruby_screen/configuration/parser/nesting_hash.rb', line 31 def initialize(key) @key = key end |
Instance Attribute Details
#key ⇒ Object (readonly)
Returns the value of attribute key.
35 36 37 |
# File 'lib/ruby_screen/configuration/parser/nesting_hash.rb', line 35 def key @key end |