Class: Specifier::Matcher::Base
- Inherits:
-
Object
- Object
- Specifier::Matcher::Base
- Defined in:
- lib/specifier/matcher/base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#expected ⇒ Object
Returns the value of attribute expected.
Instance Method Summary collapse
Instance Attribute Details
#expected ⇒ Object
Returns the value of attribute expected.
4 5 6 |
# File 'lib/specifier/matcher/base.rb', line 4 def expected @expected end |
Instance Method Details
#match?(expected) ⇒ Boolean
6 7 8 |
# File 'lib/specifier/matcher/base.rb', line 6 def match?(expected) self.expected = expected end |