Class: Droonga::Collector

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

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Pluggable

find_sub_classes, options

Constructor Details

#initializeCollector

Returns a new instance of Collector.



31
32
# File 'lib/droonga/collector.rb', line 31

def initialize
end

Class Method Details

.messageObject



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

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

Instance Method Details

#collect(message) ⇒ Object

Raises:

  • (NotImplemented)


34
35
36
# File 'lib/droonga/collector.rb', line 34

def collect(message)
  raise NotImplemented, "#{self.class.name}\##{__method__} must implement."
end