Class: Groonga::Schema::ColumnCreationWithDifferentOptions
- Defined in:
- lib/groonga/schema.rb
Overview
すでに存在するカラムと違うオプションでテーブルを作ろ うとしたときに発生する。
Instance Attribute Summary collapse
-
#column ⇒ Object
readonly
Returns the value of attribute column.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(column, options) ⇒ ColumnCreationWithDifferentOptions
constructor
A new instance of ColumnCreationWithDifferentOptions.
Constructor Details
#initialize(column, options) ⇒ ColumnCreationWithDifferentOptions
Returns a new instance of ColumnCreationWithDifferentOptions.
86 87 88 89 90 91 |
# File 'lib/groonga/schema.rb', line 86 def initialize(column, ) @column = column @options = super("creating column with different option: " + "#{@column.inspect}: #{@options.inspect}") end |
Instance Attribute Details
#column ⇒ Object (readonly)
Returns the value of attribute column.
85 86 87 |
# File 'lib/groonga/schema.rb', line 85 def column @column end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
85 86 87 |
# File 'lib/groonga/schema.rb', line 85 def @options end |