Module: Droonga::Pluggable

Included in:
Adapter, Collector, Handler
Defined in:
lib/droonga/pluggable.rb

Instance Method Summary collapse

Instance Method Details

#find_sub_classes(names) ⇒ Object



22
23
24
25
26
27
28
29
# File 'lib/droonga/pluggable.rb', line 22

def find_sub_classes(names)
  target_sub_classes = []
  names.each do |name|
    sub_classes = Plugin.registry.find_sub_classes(name, self)
    target_sub_classes.concat(sub_classes)
  end
  target_sub_classes
end

#optionsObject



18
19
20
# File 'lib/droonga/pluggable.rb', line 18

def options
  @options ||= {}
end