Class: Glamping::Models::Session
Overview
creation timestamp, and a column of serialized data called ivars
.
Instance Method Summary collapse
-
#[](k) ⇒ Object
:nodoc:.
-
#[]=(k, v) ⇒ Object
:nodoc:.
Instance Method Details
#[](k) ⇒ Object
:nodoc:
24 25 26 |
# File 'lib/glamping/session.rb', line 24 def [](k) # :nodoc: self.ivars[k] rescue nil end |
#[]=(k, v) ⇒ Object
:nodoc:
21 22 23 |
# File 'lib/glamping/session.rb', line 21 def []=(k, v) # :nodoc: self.ivars[k] = v end |