Class: Droonga::Plugin::Metadata::AdapterInputMessage

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

Instance Method Summary collapse

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

#patternObject



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