Class: ArrayTransform::Operations::RemoveRows
- Inherits:
-
Object
- Object
- ArrayTransform::Operations::RemoveRows
- Includes:
- Callable
- Defined in:
- lib/array_transform/operations/remove_rows.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(cell_test:, column_header: nil, column_index: nil, data:) ⇒ RemoveRows
constructor
A new instance of RemoveRows.
Methods included from Callable
Constructor Details
#initialize(cell_test:, column_header: nil, column_index: nil, data:) ⇒ RemoveRows
6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/array_transform/operations/remove_rows.rb', line 6 def initialize( cell_test:, column_header: nil, column_index: nil, data: ) @cell_test = cell_test @column_header = column_header @column_index = column_index @data = data end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
18 19 20 |
# File 'lib/array_transform/operations/remove_rows.rb', line 18 def data @data end |
Instance Method Details
#call ⇒ Object
20 21 22 23 |
# File 'lib/array_transform/operations/remove_rows.rb', line 20 def call validate! remove_rows end |