Class: InterMine::Lists::List::SymbolAcceptingHash
- Inherits:
-
Hash
- Object
- Hash
- InterMine::Lists::List::SymbolAcceptingHash
- Defined in:
- lib/intermine/lists.rb
Instance Method Summary collapse
Instance Method Details
#[](key) ⇒ Object
353 354 355 356 357 358 359 360 |
# File 'lib/intermine/lists.rb', line 353 def [](key) return case key when Symbol return super(key.to_s.gsub(/[_]/, '-')) else return super(key) end end |