Implements the necessary functionality to allow Document#column_box to work.
x coordinate of the left edge of the current column
# File lib/prawn/document/column_box.rb, line 90
90: def left_side
91: absolute_left + (width_of_column * @current_column)
92: end
Moves to the next column or starts a new page if currently positioned at the rightmost column.
# File lib/prawn/document/column_box.rb, line 103
103: def move_past_bottom
104: @current_column = (@current_column + 1) % @columns
105: @document.y = @y
106: if 0 == @current_column
107: @document.start_new_page
108: end
109: end
x co-orordinate of the right edge of the current column
# File lib/prawn/document/column_box.rb, line 96
96: def right_side
97: columns_from_right = @columns - (1 + @current_column)
98: absolute_right - (width_of_column * columns_from_right)
99: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.