Module: Prawn::Table::Cell::InTable

Defined in:
lib/prawn/table/cell/in_table.rb

Overview

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.

Instance Attribute Summary collapse

Instance Attribute Details

#columnObject

Column number (0-based).


27
28
29
# File 'lib/prawn/table/cell/in_table.rb', line 27

def column
  @column
end

#rowObject

Row number (0-based).


23
24
25
# File 'lib/prawn/table/cell/in_table.rb', line 23

def row
  @row
end