Class: Droonga::Plugin::Metadata::CollectorMessage

Inherits:
Object
  • Object
show all
Defined in:
lib/droonga/plugin/metadata/collector_message.rb

Instance Method Summary collapse

Constructor Details

#initialize(plugin_class) ⇒ CollectorMessage

Returns a new instance of CollectorMessage.



20
21
22
# File 'lib/droonga/plugin/metadata/collector_message.rb', line 20

def initialize(plugin_class)
  @plugin_class = plugin_class
end

Instance Method Details

#patternObject



24
25
26
# File 'lib/droonga/plugin/metadata/collector_message.rb', line 24

def pattern
  configuration[:pattern]
end

#pattern=(pattern) ⇒ Object



28
29
30
# File 'lib/droonga/plugin/metadata/collector_message.rb', line 28

def pattern=(pattern)
  configuration[:pattern] = pattern
end