Class: Vorbis::InsensitiveHash
- Inherits:
-
Hash
- Object
- Hash
- Vorbis::InsensitiveHash
- Defined in:
- lib/vorbis.rb
Overview
A simple subclass of Hash which converts keys to uppercase strings.
Instance Method Summary collapse
Instance Method Details
#[](key) ⇒ Object
98 99 100 |
# File 'lib/vorbis.rb', line 98 def [](key) super(key.to_s.upcase) end |
#[]=(key, value) ⇒ Object
102 103 104 |
# File 'lib/vorbis.rb', line 102 def []=(key, value) super(key.to_s.upcase, value) end |