Exception: Droonga::Searcher::UndefinedSourceError

Inherits:
Error
  • Object
show all
Defined in:
lib/droonga/searcher.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ UndefinedSourceError

Returns a new instance of UndefinedSourceError.



29
30
31
32
# File 'lib/droonga/searcher.rb', line 29

def initialize(name)
  @name = name
  super("undefined source was used: <#{name}>")
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



28
29
30
# File 'lib/droonga/searcher.rb', line 28

def name
  @name
end