Class: MxxRu::TextfileUnittestTarget::Pair
- Inherits:
-
Object
- Object
- MxxRu::TextfileUnittestTarget::Pair
- Defined in:
- lib/mxx_ru/textfile_unittest.rb
Overview
Description of single pair of values compared.
Instance Attribute Summary collapse
-
#etalon ⇒ Object
readonly
Name of correct file.
-
#produced ⇒ Object
readonly
Name of file generated.
Instance Method Summary collapse
-
#initialize(a_produced, a_etalon) ⇒ Pair
constructor
Constructor.
Constructor Details
#initialize(a_produced, a_etalon) ⇒ Pair
Constructor.
124 125 126 127 |
# File 'lib/mxx_ru/textfile_unittest.rb', line 124 def initialize( a_produced, a_etalon ) @produced = a_produced @etalon = a_etalon end |
Instance Attribute Details
#etalon ⇒ Object (readonly)
Name of correct file.
121 122 123 |
# File 'lib/mxx_ru/textfile_unittest.rb', line 121 def etalon @etalon end |
#produced ⇒ Object (readonly)
Name of file generated.
119 120 121 |
# File 'lib/mxx_ru/textfile_unittest.rb', line 119 def produced @produced end |