Class: Ddr::Index::Filter

Inherits:
Object
  • Object
show all
Extended by:
ClassMethods
Includes:
Api
Defined in:
lib/ddr/index/filter.rb

Defined Under Namespace

Modules: Api, ClassMethods

Instance Method Summary collapse

Methods included from ClassMethods

has_content, is_governed_by, is_member_of_collection, is_part_of, model

Methods included from Api

#absent, #before, #before_days, #negative, #present, #raw, #term, #where, #where_not

Instance Method Details

#==(other) ⇒ Object



10
11
12
# File 'lib/ddr/index/filter.rb', line 10

def ==(other)
  other.instance_of?(self.class) && (other.clauses == self.clauses)
end