Class: Groonga::Schema::UnknownTableType
- Defined in:
- lib/groonga/schema.rb
Overview
未知のテーブルの種類を指定したときに発生する。
Instance Attribute Summary collapse
-
#available_types ⇒ Object
readonly
Returns the value of attribute available_types.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(type, available_types) ⇒ UnknownTableType
constructor
A new instance of UnknownTableType.
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_types ⇒ Object (readonly)
Returns the value of attribute available_types.
127 128 129 |
# File 'lib/groonga/schema.rb', line 127 def available_types @available_types end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
127 128 129 |
# File 'lib/groonga/schema.rb', line 127 def type @type end |