examples/table/bill.rb in prawn-0.11.1.pre vs examples/table/bill.rb in prawn-0.11.1
- old
+ new
@@ -1,7 +1,8 @@
# encoding: utf-8
#
-require "#{File.dirname(__FILE__)}/../example_helper.rb"
+require File.expand_path(File.join(File.dirname(__FILE__),
+ %w[.. example_helper]))
Prawn::Document.generate("bill.pdf") do
self.font_size = 9