Class: Groonga::Schema::UnknownTableType

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

Overview

未知のテーブルの種類を指定したときに発生する。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type, available_types) ⇒ UnknownTableType

Returns a new instance of UnknownTableType.



128
129
130
131
132
133
# File 'lib/groonga/schema.rb', line 128

def initialize(type, available_types)
  @type = type
  @available_types = available_types
  super("unknown table type: #{@type.inspect}: " +
        "available types: #{@available_types.inspect}")
end

Instance Attribute Details

#available_typesObject (readonly)

Returns the value of attribute available_types.



127
128
129
# File 'lib/groonga/schema.rb', line 127

def available_types
  @available_types
end

#typeObject (readonly)

Returns the value of attribute type.



127
128
129
# File 'lib/groonga/schema.rb', line 127

def type
  @type
end