Class: Mack::Request::Parameters
- Defined in:
- lib/mack/controller/request/parameters.rb
Overview
:nodoc:
Instance Method Summary collapse
Methods inherited from Hash
Instance Method Details
#[](key) ⇒ Object
10 11 12 13 14 15 |
# File 'lib/mack/controller/request/parameters.rb', line 10 def [](key) key = key.to_s.downcase data = old_hash(key.to_sym) || old_hash(key) data = data.to_s if data.is_a?(Symbol) return data end |
#[]=(key, value) ⇒ Object
17 18 19 |
# File 'lib/mack/controller/request/parameters.rb', line 17 def []=(key, value) _original_store(key.downcase.to_sym, value) end |