Class: Giggly::SessionInfo
- Inherits:
-
Object
- Object
- Giggly::SessionInfo
- Defined in:
- lib/giggly/session_info.rb
Instance Attribute Summary collapse
-
#session ⇒ Object
readonly
Returns the value of attribute session.
Instance Method Summary collapse
-
#initialize(session) ⇒ SessionInfo
constructor
A new instance of SessionInfo.
Constructor Details
#initialize(session) ⇒ SessionInfo
Returns a new instance of SessionInfo.
6 7 8 |
# File 'lib/giggly/session_info.rb', line 6 def initialize(session) @session = session end |
Instance Attribute Details
#session ⇒ Object (readonly)
Returns the value of attribute session.
4 5 6 |
# File 'lib/giggly/session_info.rb', line 4 def session @session end |