Class: 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.



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

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.



103
104
105
# File 'lib/groonga/schema.rb', line 103

def table
  @table
end

#targetsObject (readonly)

Returns the value of attribute targets.



103
104
105
# File 'lib/groonga/schema.rb', line 103

def targets
  @targets
end