Class: Dolphin::Models::Cassandra::Base
- Inherits:
-
Object
- Object
- Dolphin::Models::Cassandra::Base
- Defined in:
- lib/dolphin/models/cassandra/base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#db ⇒ Object
Returns the value of attribute db.
Instance Method Summary collapse
-
#initialize(connection) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(connection) ⇒ Base
Returns a new instance of Base.
6 7 8 |
# File 'lib/dolphin/models/cassandra/base.rb', line 6 def initialize(connection) @db = connection end |
Instance Attribute Details
#db ⇒ Object
Returns the value of attribute db.
5 6 7 |
# File 'lib/dolphin/models/cassandra/base.rb', line 5 def db @db end |