Class: Droonga::Plugins::Basic::GatherCollector
- Defined in:
- lib/droonga/plugins/basic.rb
Instance Method Summary collapse
Methods inherited from Collector
Methods included from Droonga::Pluggable
Constructor Details
This class inherits a constructor from Droonga::Collector
Instance Method Details
#collect(message) ⇒ Object
28 29 30 31 32 33 34 35 36 |
# File 'lib/droonga/plugins/basic.rb', line 28 def collect() output = .input || .name if output.is_a?(Hash) output_name = output["output"] else output_name = output end .values[output_name] = .value end |