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).



21
22
23
# File 'lib/prawn/table/cell/in_table.rb', line 21

def column
  @column
end

#rowObject

Row number (0-based).



17
18
19
# File 'lib/prawn/table/cell/in_table.rb', line 17

def row
  @row
end