Module: RSpec::XlsxMatchers::InRow

Included in:
CellValue, Cells
Defined in:
lib/rspec/xlsx_matchers/in_row.rb

Overview

common base row based matchers

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#row_indexObject (readonly)

Returns the value of attribute row_index.



7
8
9
# File 'lib/rspec/xlsx_matchers/in_row.rb', line 7

def row_index
  @row_index
end

Instance Method Details

#in_row(row_index) ⇒ Object



9
10
11
12
# File 'lib/rspec/xlsx_matchers/in_row.rb', line 9

def in_row(row_index)
  @row_index = row_index
  self
end