lib/prawn/grid.rb in prawn-1.0.0 vs lib/prawn/grid.rb in prawn-1.1.0

- old
+ new

@@ -1,5 +1,7 @@ +# encoding: utf-8 + # grid.rb: Provides a basic grid layout system for Prawn # # Contributed by Andrew O'Brien in March 2009 # # This is free software. Please see the LICENSE and COPYING files for details. @@ -12,10 +14,10 @@ # rows and columns and the width to use for the gutter as the # keys :rows, :columns, :gutter, :row_gutter, :column_gutter # # Note that a completely new grid object is built each time define_grid() # is called. This means that all subsequent calls to grid() will use - # the newly defined Grid object -- grids are not nestable like + # the newly defined Grid object -- grids are not nestable like # bounding boxes are. def define_grid(options = {}) @boxes = nil @grid = Grid.new(self, options)