Module: HasMeta::QueryMethods::ClassMethods

Defined in:
lib/has_meta/query_methods.rb

Instance Method Summary collapse

Instance Method Details

#excluding_meta(args = nil, options = {}) ⇒ Object



13
14
15
# File 'lib/has_meta/query_methods.rb', line 13

def excluding_meta args=nil, options={}
  HasMeta::MetaQuery.new(self, MetaData, args, options.merge(exclude: true)).build
end

#with_meta(args = nil, options = {}) ⇒ Object



9
10
11
# File 'lib/has_meta/query_methods.rb', line 9

def with_meta args=nil, options={}
  HasMeta::MetaQuery.new(self, MetaData, args, options).build
end