Class: Emendate::Examples::RowSet
- Inherits:
-
Object
- Object
- Emendate::Examples::RowSet
- Includes:
- Taggable
- Defined in:
- lib/emendate/examples/row_set.rb
Overview
rubocop:todo Layout/LineLength Optionally filters Csv rows by date type and/or data set tags. If those are not given, rubocop:enable Layout/LineLength
returns all Csv rows
rubocop:todo Layout/LineLength A Row is literally one row of data, which may or may not be a testable example set on rubocop:enable Layout/LineLength rubocop:todo Layout/LineLength
its own. Examples::ExampleSet handles grouping rows into TestableExample objects
rubocop:enable Layout/LineLength
Instance Attribute Summary collapse
-
#rows ⇒ Object
readonly
Returns the value of attribute rows.
Instance Method Summary collapse
-
#initialize(data_sets: "", date_types: "") ⇒ RowSet
constructor
A new instance of RowSet.
- #to_s ⇒ Object (also: #inspect)
Methods included from Taggable
Constructor Details
Instance Attribute Details
#rows ⇒ Object (readonly)
Returns the value of attribute rows.
21 22 23 |
# File 'lib/emendate/examples/row_set.rb', line 21 def rows @rows end |
Instance Method Details
#to_s ⇒ Object Also known as: inspect
29 30 31 |
# File 'lib/emendate/examples/row_set.rb', line 29 def to_s "#{rows.length} rows #{}" end |