Class: Droonga::Plugin::Metadata::AdapterInputMessage
- Inherits:
-
Object
- Object
- Droonga::Plugin::Metadata::AdapterInputMessage
- Defined in:
- lib/droonga/plugin/metadata/adapter_input_message.rb
Instance Method Summary collapse
-
#initialize(adapter_class) ⇒ AdapterInputMessage
constructor
A new instance of AdapterInputMessage.
- #pattern ⇒ Object
- #pattern=(pattern) ⇒ Object
Constructor Details
#initialize(adapter_class) ⇒ AdapterInputMessage
Returns a new instance of AdapterInputMessage.
20 21 22 |
# File 'lib/droonga/plugin/metadata/adapter_input_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_input_message.rb', line 24 def pattern configuration[:pattern] end |
#pattern=(pattern) ⇒ Object
28 29 30 |
# File 'lib/droonga/plugin/metadata/adapter_input_message.rb', line 28 def pattern=(pattern) configuration[:pattern] = pattern end |