Method: Longleaf::SystemConfigBuilder#with_index

Defined in:
lib/longleaf/specs/system_config_builder.rb

#with_index(adapter, connection) ⇒ Object



15
16
17
18
19
20
# File 'lib/longleaf/specs/system_config_builder.rb', line 15

def with_index(adapter, connection)
  @config[SCF::MD_INDEX] = Hash.new
  @config[SCF::MD_INDEX][SCF::MD_INDEX_ADAPTER] = adapter
  @config[SCF::MD_INDEX][SCF::MD_INDEX_CONNECTION] = connection
  self
end