examples/m17n/euro.rb in prawn-0.11.1.pre vs examples/m17n/euro.rb in prawn-0.11.1
- old
+ new
@@ -6,10 +6,11 @@
#
# We are investigating this issue, but it does not seem to be Prawn specific.
# If you need precision spacing, use a TTF file instead and the issue will
# go away.
#
-require "#{File.dirname(__FILE__)}/../example_helper.rb"
+require File.expand_path(File.join(File.dirname(__FILE__),
+ %w[.. example_helper]))
Prawn::Document.generate "euro.pdf" do
text "A Euro! € ©", :size => 32
-end
\ No newline at end of file
+end