Class: Droonga::Adapter

Inherits:
Object
  • Object
show all
Includes:
Pluggable
Defined in:
lib/droonga/adapter.rb

Instance Method Summary collapse

Methods included from Pluggable

#process, #processable?, #shutdown

Constructor Details

#initialize(dispatcher, options = {}) ⇒ Adapter

Returns a new instance of Adapter.



25
26
27
28
# File 'lib/droonga/adapter.rb', line 25

def initialize(dispatcher, options={})
  @dispatcher = dispatcher
  load_plugins(options[:adapters] || [])
end