module Axiom::Function::Predicate::Inclusion::Methods

Public Instance Methods

include(other) click to toggle source

Compare the left to see if it is included in the right

@example

inclusion = attribute.include([1, 2, 3])

@param [Function] other

@return [Inclusion]

@api public

# File lib/axiom/function/predicate/inclusion.rb, line 52
def include(other)
  Inclusion.new(self, other)
end