Class: Easytest::Matcher::Include
- Inherits:
-
Base
- Object
- Base
- Easytest::Matcher::Include
show all
- Defined in:
- lib/easytest/matcher/include.rb
Instance Attribute Summary
Attributes inherited from Base
#actual, #expected, #negate
Instance Method Summary
collapse
Methods inherited from Base
#initialize, #match!
Instance Method Details
#match? ⇒ Boolean
4
5
6
|
# File 'lib/easytest/matcher/include.rb', line 4
def match?
actual.include? expected
end
|
#message ⇒ Object
8
9
10
|
# File 'lib/easytest/matcher/include.rb', line 8
def message
"include"
end
|