Class: Rectify::NullQuery

Inherits:
Query
  • Object
show all
Defined in:
lib/rectify/null_query.rb

Instance Method Summary collapse

Methods inherited from Query

#cached_query, #count, #each, #eager?, #exists?, #first, #initialize, merge, #none?, #relation?, #to_a, #|

Constructor Details

This class inherits a constructor from Rectify::Query

Instance Method Details

#merge(query) ⇒ Object



3
4
5
# File 'lib/rectify/null_query.rb', line 3

def merge(query)
  query
end

#queryObject



7
8
9
# File 'lib/rectify/null_query.rb', line 7

def query
  []
end