Class: Totes::Matcher::Eql

Inherits:
Totes::Matcher show all
Defined in:
lib/totes/matcher/eql.rb

Constant Summary

Constants inherited from Totes::Matcher

ALIASES

Instance Method Summary collapse

Methods inherited from Totes::Matcher

build, error_must, error_wont, #initialize, #test

Constructor Details

This class inherits a constructor from Totes::Matcher

Instance Method Details

#likes(subject) ⇒ Object



6
7
8
9
# File 'lib/totes/matcher/eql.rb', line 6

def likes(subject)
  # TODO make a deep matching thing work
  subject == @value
end