Class: Droonga::Plugin::Metadata::AdapterOutputMessage
- Inherits:
-
Object
- Object
- Droonga::Plugin::Metadata::AdapterOutputMessage
- Defined in:
- lib/droonga/plugin/metadata/adapter_output_message.rb
Instance Method Summary collapse
-
#initialize(adapter_class) ⇒ AdapterOutputMessage
constructor
A new instance of AdapterOutputMessage.
- #pattern ⇒ Object
- #pattern=(pattern) ⇒ Object
Constructor Details
#initialize(adapter_class) ⇒ AdapterOutputMessage
Returns a new instance of AdapterOutputMessage.
20 21 22 |
# File 'lib/droonga/plugin/metadata/adapter_output_message.rb', line 20 def initialize(adapter_class) @adapter_class = adapter_class end |
Instance Method Details
#pattern ⇒ Object
24 25 26 |
# File 'lib/droonga/plugin/metadata/adapter_output_message.rb', line 24 def pattern configuration[:pattern] end |
#pattern=(pattern) ⇒ Object
28 29 30 |
# File 'lib/droonga/plugin/metadata/adapter_output_message.rb', line 28 def pattern=(pattern) configuration[:pattern] = pattern end |