GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Description: Fast, Nimble PDF Writer for Ruby
Homepage: http://prawn.lighthouseapp.com/projects/9398/home
Clone URL: git://github.com/sandal/prawn.git
Fix typo
sandal (author)
Thu Jul 24 09:07:21 -0700 2008
commit  5af67a2ddeff41a17a695e5718ec82054e06e06c
tree    d8ed0fc354d79632b82b897edf2d3400ae817b1c
parent  6c4bdf74dc677df5f88a77f4dc214feb744af7e2
...
33
34
35
36
 
 
37
38
39
...
33
34
35
 
36
37
38
39
40
0
@@ -33,7 +33,8 @@ Prawn::Document.generate("table.pdf") do
0
     :vertical_padding => 3,
0
     :border => 2,
0
     :position => :center,
0
- :headers => ["Column A","Column B","#"]
0
+ :headers => ["Column A","Column B","#"],
0
+ :row_colors => ["eeeeee"]
0
 
0
   pad(20) do
0
     text "This should appear in the original font size"
...
254
255
256
257
 
258
259
260
...
254
255
256
 
257
258
259
260
0
@@ -254,7 +254,7 @@ module Prawn
0
         return basename
0
       end
0
 
0
- def normalise_encoding(text)
0
+ def normalize_encoding(text)
0
         # TODO: if the current font is a built in one, we can't use the utf-8
0
         # string provided by the user. We should convert it to WinAnsi or
0
         # MacRoman or some such.

Comments

    No one has commented yet.