Sha256: 151445b1e24461c885f8389d7b95ce4fa60709f3758426903079a62b60c9c95d

Contents?: true

Size: 237 Bytes

Versions: 10

Compression:

Stored size: 237 Bytes

Contents

module Xeroizer
  module Report
    class HeaderRow < Row

        def column_index(column_name)
          cells.find_index { | cell | cell.value == column_name.to_s }
        end
        memoize :column_index
        
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
xeroizer-0.4.1 lib/xeroizer/report/row/header.rb
xeroizer-0.4.0 lib/xeroizer/report/row/header.rb
xeroizer-0.3.5 lib/xeroizer/report/row/header.rb
xeroizer-0.3.4 lib/xeroizer/report/row/header.rb
xeroizer-0.3.3 lib/xeroizer/report/row/header.rb
xeroizer-0.3.2 lib/xeroizer/report/row/header.rb
xeroizer-0.3.1 lib/xeroizer/report/row/header.rb
xeroizer-0.3.0 lib/xeroizer/report/row/header.rb
xeroizer-0.2.2 lib/xeroizer/report/row/header.rb
xeroizer-0.2.1 lib/xeroizer/report/row/header.rb