public
Description: Fast, Nimble PDF Writer for Ruby
Homepage: http://prawn.majesticseacreature.com
Clone URL: git://github.com/sandal/prawn.git
More cleanup
sandal (author)
Mon Jul 21 08:20:24 -0700 2008
commit  aeb22386528574317e9babd84904fc3ef0c458fd
tree    e5541a83ee2c332ebd22b6341577bffa5d2497b7
parent  efe870d121952287184ef3cd8d7b2c023b38cffe
...
246
247
248
249
250
251
252
253
 
254
255
256
...
246
247
248
 
 
 
 
 
249
250
251
252
0
@@ -246,11 +246,7 @@ module Prawn
0
       # the box to the current drawing position.
0
       #
0
       def height
0
-        if @height.nil?
0
-          absolute_top - @parent.y
0
-        else
0
-          @height
0
-        end
0
+        @height || absolute_top - @parent.y
0
       end
0
     end
0
   end

Comments