Class: Cassandra::Mapper::Utility::Config

Inherits:
Object
  • Object
show all
Extended by:
DelegateKeys
Defined in:
lib/cassandra/mapper/utility/config.rb

Defined Under Namespace

Classes: DSL

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from DelegateKeys

delegate_keys

Constructor Details

#initialize(&block) ⇒ Config

Returns a new instance of Config.



9
10
11
# File 'lib/cassandra/mapper/utility/config.rb', line 9

def initialize(&block)
  @dsl = DSL.new &block
end

Instance Attribute Details

#dslObject (readonly)

Returns the value of attribute dsl.



7
8
9
# File 'lib/cassandra/mapper/utility/config.rb', line 7

def dsl
  @dsl
end