Class: Wukong::SpecHelpers::TsvMatcher
- Inherits:
-
DelimitedMatcher
- Object
- UnitTestMatcher
- DelimitedMatcher
- Wukong::SpecHelpers::TsvMatcher
- Defined in:
- lib/wukong/spec_helpers/unit_tests/unit_test_matchers.rb
Instance Attribute Summary
Attributes inherited from DelimitedMatcher
Attributes inherited from UnitTestMatcher
#actual_record, #driver, #expected, #expected_record, #mismatched_index, #reason
Instance Method Summary collapse
- #delimited_type ⇒ Object
-
#initialize(*expected) ⇒ TsvMatcher
constructor
A new instance of TsvMatcher.
Methods inherited from DelimitedMatcher
Methods inherited from UnitTestMatcher
#failure_message, #matches?, #negative_failure_message, #records
Constructor Details
#initialize(*expected) ⇒ TsvMatcher
Returns a new instance of TsvMatcher.
152 153 154 |
# File 'lib/wukong/spec_helpers/unit_tests/unit_test_matchers.rb', line 152 def initialize *expected super("\t", *expected) end |
Instance Method Details
#delimited_type ⇒ Object
155 156 157 |
# File 'lib/wukong/spec_helpers/unit_tests/unit_test_matchers.rb', line 155 def delimited_type "TSV" end |