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.
84 85 86 87 88 89 |
# File 'lib/groonga/schema.rb', line 84 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.
83 84 85 |
# File 'lib/groonga/schema.rb', line 83 def column @column end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
83 84 85 |
# File 'lib/groonga/schema.rb', line 83 def @options end |