Class: Droonga::Plugin::Metadata::CollectorMessage
- Inherits:
-
Object
- Object
- Droonga::Plugin::Metadata::CollectorMessage
- Defined in:
- lib/droonga/plugin/metadata/collector_message.rb
Instance Method Summary collapse
-
#initialize(plugin_class) ⇒ CollectorMessage
constructor
A new instance of CollectorMessage.
- #pattern ⇒ Object
- #pattern=(pattern) ⇒ Object
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
#pattern ⇒ Object
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 |