Sha256: 83fb0c5adf5a6c60d47158aab0107f546001ba296dcb0eda43ce59fadd88cb43

Contents?: true

Size: 625 Bytes

Versions: 12

Compression:

Stored size: 625 Bytes

Contents

# encoding: utf-8

# Accessors for using a Cell inside a Table.
#
# Contributed by Brad Ediger.
#
# This is free software. Please see the LICENSE and COPYING files for details.

module Prawn
  class Table

    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.
      #
      # @private
      module InTable

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

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

      end

    end
  end
end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
prawn-table-0.2.2 lib/prawn/table/cell/in_table.rb
prawn-table-0.2.1 lib/prawn/table/cell/in_table.rb
prawn-table-0.2.0 lib/prawn/table/cell/in_table.rb
prawn-table-0.1.2 lib/prawn/table/cell/in_table.rb
prawn-table-0.1.1 lib/prawn/table/cell/in_table.rb
prawn-table-0.1.0 lib/prawn/table/cell/in_table.rb
prawn-table-0.0.4 lib/prawn/table/cell/in_table.rb
prawn-table-0.0.3 lib/prawn/table/cell/in_table.rb
prawn-table-0.0.2 lib/prawn/table/cell/in_table.rb
prawn-table-0.0.1 lib/prawn/table/cell/in_table.rb
prawn-1.1.0 lib/prawn/table/cell/in_table.rb
prawn-1.0.0 lib/prawn/table/cell/in_table.rb