Module: RSpec::XlsxMatchers::InColumn
- Included in:
- CellValue
- Defined in:
- lib/rspec/xlsx_matchers/in_column.rb
Overview
common base for columns matchers
Instance Attribute Summary collapse
-
#column_name ⇒ Object
readonly
Returns the value of attribute column_name.
Instance Method Summary collapse
Instance Attribute Details
#column_name ⇒ Object (readonly)
Returns the value of attribute column_name.
7 8 9 |
# File 'lib/rspec/xlsx_matchers/in_column.rb', line 7 def column_name @column_name end |
Instance Method Details
#in_column(column_name) ⇒ Object
9 10 11 12 |
# File 'lib/rspec/xlsx_matchers/in_column.rb', line 9 def in_column(column_name) @column_name = column_name self end |
#in_column_by_index(index) ⇒ Object
14 15 16 17 |
# File 'lib/rspec/xlsx_matchers/in_column.rb', line 14 def in_column_by_index(index) @column_index = index self end |