Class: Totes::Matcher::Be

Inherits:
Totes::Matcher show all
Defined in:
lib/totes/matcher/be.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
# File 'lib/totes/matcher/be.rb', line 6

def likes(subject)
  subject === @value
end