Sha256: 528988a0eae8a7c8ab4a438a2ea8c180aa0ce52a859c65243bde36e4240cc703

Contents?: true

Size: 494 Bytes

Versions: 4

Compression:

Stored size: 494 Bytes

Contents

# encoding: utf-8

# Accessors for using a Cell inside a Table.

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

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

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

      end

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
prawn-0.14.0 lib/prawn/table/cell/in_table.rb
prawn-0.13.2 lib/prawn/table/cell/in_table.rb
prawn-0.13.1 lib/prawn/table/cell/in_table.rb
prawn-0.13.0 lib/prawn/table/cell/in_table.rb