Method: Tire::Search::BoostingQuery#negative

Defined in:
lib/tire/search/query.rb

#negative(&block) ⇒ Object



266
267
268
269
# File 'lib/tire/search/query.rb', line 266

def negative(&block)
  (@value[:negative] ||= []) << Query.new(&block).to_hash
  @value
end