lib/groonga/expression-builder.rb in rroonga-1.2.0 vs lib/groonga/expression-builder.rb in rroonga-1.2.1

- old
+ new

@@ -25,11 +25,11 @@ attr_accessor :allow_update attr_accessor :default_column VALID_COLUMN_NAME_RE = /\A[a-zA-Z\d_]+\z/ - def initialize(*args) + def initialize @table = nil @name = nil @query = nil @syntax = nil @allow_pragma = nil @@ -443,10 +443,10 @@ if object.nil? raise ArgumentError, "unknown index column: <#{name}>" end if object.range != @table raise ArgumentError, - "differenct index column: <#{name}>: #{object.inspect}" + "different index column: <#{name}>: #{object.inspect}" end column_expression_builder(object, name) end private