Class: Glamping::Models::Session

Inherits:
Base
  • Object
show all
Defined in:
lib/glamping/session.rb

Overview

creation timestamp, and a column of serialized data called ivars.

Instance Method Summary collapse

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