class Leftovers::Matchers::And
Public Class Methods
new(lhs, rhs)
click to toggle source
:nocov:
# File lib/leftovers/matchers/and.rb, line 10 def initialize(lhs, rhs) @lhs = lhs @rhs = rhs freeze end
Public Instance Methods
===(value)
click to toggle source
# File lib/leftovers/matchers/and.rb, line 17 def ===(value) @lhs === value && @rhs === value end