Class: HelpParser::NoDupHash

Inherits:
Hash
  • Object
show all
Defined in:
lib/help_parser/aliases.rb

Instance Method Summary collapse

Instance Method Details

#[]=(k, v) ⇒ Object

Raises:



3
4
5
6
# File 'lib/help_parser/aliases.rb', line 3

def []=(k,v)
  raise HelpError, MSG[DUP_KEY,k] if key?(k)
  super
end