Class: ActionController::CookieJar
- Inherits:
-
Object
- Object
- ActionController::CookieJar
- Defined in:
- lib/m_cookies.rb
Instance Method Summary collapse
Instance Method Details
#[]=(name, options) ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/m_cookies.rb', line 5 def []=(name, ) = {:value => } unless .is_a? Hash if self.respond_to?(:app_config) = {:domain => app_config.}.merge() unless app_config..nil? end old_setter(name, ) end |
#old_setter ⇒ Object
3 |
# File 'lib/m_cookies.rb', line 3 alias_method :old_setter, :[]= |