Sha256: 5fee91dfef56efa97b8a6867aa1bcb2b5e24b490cdd0317946568108593eb47b

Contents?: true

Size: 510 Bytes

Versions: 1

Compression:

Stored size: 510 Bytes

Contents

# encoding: utf-8

# Accessors for using a Cell inside a Table.

module Prawn
  class Table

    # @private
    class Cell

      # This module extends Cell objects when they are used in a table (as
      # opposed to standalone). Its properties apply to cells-in-tables but not
      # cells themselves.
      #
      module InTable

        # Row number (0-based).
        #
        attr_accessor :row

        # Column number (0-based).
        #
        attr_accessor :column

      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
prawn-0.15.0 lib/prawn/table/cell/in_table.rb