Class: ScraperWiki::API::Matchers::HaveBlankValues
- Inherits:
-
FieldMatcher
- Object
- CustomMatcher
- DatastoreMatcher
- FieldMatcher
- ScraperWiki::API::Matchers::HaveBlankValues
- Defined in:
- lib/scraperwiki-api/matchers.rb
Instance Method Summary collapse
Constructor Details
This class inherits a constructor from ScraperWiki::API::Matchers::CustomMatcher
Instance Method Details
#failure_predicate ⇒ Object
591 592 593 |
# File 'lib/scraperwiki-api/matchers.rb', line 591 def failure_predicate 'are blank' end |
#match?(v) ⇒ Boolean
587 588 589 |
# File 'lib/scraperwiki-api/matchers.rb', line 587 def match?(v) blank? v end |
#negative_failure_predicate ⇒ Object
595 596 597 |
# File 'lib/scraperwiki-api/matchers.rb', line 595 def negative_failure_predicate 'are present' end |