Exception: DuplicateKeyException

Inherits:
StandardError
  • Object
show all
Defined in:
lib/ruby_screen/configuration/parser/nesting_hash.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#keyObject (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