Class: Droonga::Adapter

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

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Pluggable

find_sub_classes, options

Class Method Details

.idObject



28
29
30
# File 'lib/droonga/adapter.rb', line 28

def id
  options[:id] || name || object_id.to_s
end

.messageObject



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

def message
  Plugin::Metadata::AdapterMessage.new(self)
end

Instance Method Details

#adapt_input(input_message) ⇒ Object



33
34
# File 'lib/droonga/adapter.rb', line 33

def adapt_input(input_message)
end

#adapt_output(output_message) ⇒ Object



36
37
# File 'lib/droonga/adapter.rb', line 36

def adapt_output(output_message)
end