Class: Droonga::Plugin
- Inherits:
-
Object
show all
- Defined in:
- lib/droonga/plugin.rb
Instance Method Summary
collapse
Constructor Details
#initialize ⇒ Plugin
Returns a new instance of Plugin.
22
23
|
# File 'lib/droonga/plugin.rb', line 22
def initialize
end
|
Instance Method Details
#process(command, *arguments) ⇒ Object
35
36
37
38
39
40
41
|
# File 'lib/droonga/plugin.rb', line 35
def process(command, *arguments)
__send__(self.class.method_name(command), *arguments)
rescue => exception
Logger.error("error while processing #{command}",
arguments: arguments,
exception: exception)
end
|
#processable?(command) ⇒ Boolean
31
32
33
|
# File 'lib/droonga/plugin.rb', line 31
def processable?(command)
self.class.processable?(command)
end
|
#shutdown ⇒ Object
28
29
|
# File 'lib/droonga/plugin.rb', line 28
def shutdown
end
|
#start ⇒ Object
25
26
|
# File 'lib/droonga/plugin.rb', line 25
def start
end
|