class Muack::Satisfying::Conj
Public Class Methods
new(lhs, rhs)
click to toggle source
# File lib/muack/satisfying.rb, line 31 def initialize lhs, rhs @lhs, @rhs = lhs, rhs end
Public Instance Methods
match(actual_arg)
click to toggle source
# File lib/muack/satisfying.rb, line 35 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 39 def to_s; "#{@lhs} & #{@rhs}"; end
Also aliased as: inspect