Sha256: 14d7c9483c5e7033f4d9e46ba7c84b49d8fd7df3cb80aa014c423eedf3d4f883

Contents?: true

Size: 253 Bytes

Versions: 8

Compression:

Stored size: 253 Bytes

Contents

module Roo
  class Excelx
    class Coordinate < ::Array

      def initialize(row, column)
        super() << row << column
        freeze
      end

      def row
        self[0]
      end

      def column
        self[1]
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
roo-2.10.1 lib/roo/excelx/coordinate.rb
roo-2.10.0 lib/roo/excelx/coordinate.rb
roo-2.9.0 lib/roo/excelx/coordinate.rb
ruh-roo-3.0.1 lib/roo/excelx/coordinate.rb
roo-2.8.3 lib/roo/excelx/coordinate.rb
roo-2.8.2 lib/roo/excelx/coordinate.rb
roo-2.8.1 lib/roo/excelx/coordinate.rb
roo-2.8.0 lib/roo/excelx/coordinate.rb