class Muack::Satisfying::Disj

Public Class Methods

new(lhs, rhs) click to toggle source
# File lib/muack/satisfying.rb, line 18
def initialize lhs, rhs
  @lhs, @rhs = lhs, rhs
end

Public Instance Methods

inspect()
Alias for: to_s
match(actual_arg) click to toggle source
# File lib/muack/satisfying.rb, line 22
def match actual_arg
  @lhs.match(actual_arg) || @rhs.match(actual_arg)
end
to_s() click to toggle source
# File lib/muack/satisfying.rb, line 26
def to_s; "#{@lhs} | #{@rhs}"; end
Also aliased as: inspect