Exception: Groonga::Schema::UnknownIndexTarget

Inherits:
Error
  • Object
show all
Defined in:
lib/groonga/schema.rb

Overview

未知のインデックス対象を指定したときに発生する。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(table, targets) ⇒ UnknownIndexTarget

Returns a new instance of UnknownIndexTarget



106
107
108
109
110
# File 'lib/groonga/schema.rb', line 106

def initialize(table, targets)
  @table = table
  @targets = targets
  super("unknown index target: <#{@table.inspect}>: <#{@targets.inspect}>")
end

Instance Attribute Details

#tableObject (readonly)

Returns the value of attribute table



105
106
107
# File 'lib/groonga/schema.rb', line 105

def table
  @table
end

#targetsObject (readonly)

Returns the value of attribute targets



105
106
107
# File 'lib/groonga/schema.rb', line 105

def targets
  @targets
end