Class: Boolminot::Clauses::MatchAll

Inherits:
Logica::Predicates::Tautology
  • Object
show all
Extended by:
Base::ClassMethods
Includes:
Base::InstanceMethods
Defined in:
lib/boolminot/clauses/match_all.rb

Instance Method Summary collapse

Methods included from Base::ClassMethods

predicate_factory

Methods included from Base::InstanceMethods

#satisfied_by?, #to_elasticsearch, #to_elasticsearch_negated, #to_raw_bool

Constructor Details

#initialize(opts = {}) ⇒ MatchAll

Returns a new instance of MatchAll.



7
8
9
# File 'lib/boolminot/clauses/match_all.rb', line 7

def initialize(opts = {})
  @opts = opts
end

Instance Method Details

#bodyObject



11
12
13
# File 'lib/boolminot/clauses/match_all.rb', line 11

def body
  opts
end