Class: Cassandra::Mapper::Utility::Config
- Inherits:
-
Object
- Object
- Cassandra::Mapper::Utility::Config
- Extended by:
- DelegateKeys
- Defined in:
- lib/cassandra/mapper/utility/config.rb
Defined Under Namespace
Classes: DSL
Instance Attribute Summary collapse
-
#dsl ⇒ Object
readonly
Returns the value of attribute dsl.
Instance Method Summary collapse
-
#initialize(&block) ⇒ Config
constructor
A new instance of Config.
Methods included from DelegateKeys
Constructor Details
#initialize(&block) ⇒ Config
9 10 11 |
# File 'lib/cassandra/mapper/utility/config.rb', line 9 def initialize(&block) @dsl = DSL.new &block end |
Instance Attribute Details
#dsl ⇒ Object (readonly)
Returns the value of attribute dsl.
7 8 9 |
# File 'lib/cassandra/mapper/utility/config.rb', line 7 def dsl @dsl end |