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
Methods inherited from FieldMatcher
#at, #blank?, #failure_description, #in, #matcher, #matches, #mismatches, #negative_failure_description
Methods inherited from DatastoreMatcher
#does_not_match?, #failure_description, #failure_message, #failure_size, #failures, #items, #matches, #matches?, #mismatches, #negative_failure_description, #negative_failure_message
Methods inherited from CustomMatcher
#does_not_match?, #failure_message, #initialize, #matches?, #negative_failure_message
Constructor Details
This class inherits a constructor from ScraperWiki::API::Matchers::CustomMatcher
Instance Method Details
#failure_predicate ⇒ Object
548 549 550 |
# File 'lib/scraperwiki-api/matchers.rb', line 548 def failure_predicate 'are blank' end |
#match?(v) ⇒ Boolean
544 545 546 |
# File 'lib/scraperwiki-api/matchers.rb', line 544 def match?(v) blank? v end |
#negative_failure_predicate ⇒ Object
552 553 554 |
# File 'lib/scraperwiki-api/matchers.rb', line 552 def negative_failure_predicate 'are present' end |