Class: Wlog::Session
- Inherits:
-
Object
- Object
- Wlog::Session
- Defined in:
- lib/wlog/domain/session.rb
Overview
Instance Attribute Summary collapse
-
#db ⇒ Object
Returns the value of attribute db.
Instance Method Summary collapse
-
#initialize(dbhandle) ⇒ Session
constructor
A new instance of Session.
Constructor Details
#initialize(dbhandle) ⇒ Session
Returns a new instance of Session.
10 11 12 |
# File 'lib/wlog/domain/session.rb', line 10 def initialize(dbhandle) @db = dbhandle end |
Instance Attribute Details
#db ⇒ Object
Returns the value of attribute db.
14 15 16 |
# File 'lib/wlog/domain/session.rb', line 14 def db @db end |