Module: Querifier::Queries::Where::ClassMethods

Defined in:
lib/querifier/queries/where.rb

Constant Summary collapse

@@where_attributes =
[]

Instance Method Summary collapse

Instance Method Details

#where_attributes(*value) ⇒ Object



52
53
54
55
# File 'lib/querifier/queries/where.rb', line 52

def where_attributes(*value)
  return @@where_attributes = [*value] if value.any?
  @@where_attributes
end