public
Description: Fast, Nimble PDF Writer for Ruby
Homepage: http://prawn.majesticseacreature.com
Clone URL: git://github.com/sandal/prawn.git
Per ticket [#95], fixing documentation for cell bordersr
cbartlett (author)
Thu Nov 06 20:42:18 -0800 2008
commit  8f6d50c7a5bddfb4d4b2c814bad30947baa234e9
tree    6431e64d7c6fbbb68356b5b7b8e9959dab322b25
parent  f3dc7a726eb6d9f8288a74ba10ebb28e94621baa
...
42
43
44
45
46
47
48
49
50
 
 
 
51
52
53
...
42
43
44
 
45
46
47
 
48
49
50
51
52
53
54
0
@@ -42,12 +42,13 @@ module Prawn
0
       # <tt>:document</tt>:: The Prawn::Document object to render on. 
0
       # <tt>:text</tt>:: The text to be flowed within the cell
0
       # <tt>:width</tt>:: The width in PDF points of the cell.
0
-      # <tt>:border</tt>:: The border line width. If omitted, no border will be drawn.
0
       # <tt>:horizontal_padding</tt>:: The horizontal padding in PDF points
0
       # <tt>:vertical_padding</tt>:: The vertical padding in PDF points
0
       # <tt>:padding</tt>:: Overrides both horizontal and vertical padding
0
-      # <tt>:border_style</tt>:: One of <tt>:all</tt>, <tt>:no_top</tt>, <tt>:no_bottom</tt>, <tt>:sides</tt>   
0
       # <tt>:align</tt>:: One of <tt>:left</tt>, <tt>:right</tt>, <tt>:center</tt>
0
+      # <tt>:borders</tt>:: An array of sides which should have a border. Any of <tt>:top</tt>, <tt>:left</tt>, <tt>:right</tt>, <tt>:bottom</tt>
0
+      # <tt>:border_width</tt>:: The border line width. Defaults to 1.
0
+      # <tt>:border_style</tt>:: One of <tt>:all</tt>, <tt>:no_top</tt>, <tt>:no_bottom</tt>, <tt>:sides</tt>. Defaults to :all.
0
       #
0
       def initialize(options={})
0
         @point        = options[:point]

Comments