examples/example01.rb in clbustos-rtf-0.4.2 vs examples/example01.rb in clbustos-rtf-0.5.0

- old
+ new

@@ -1,7 +1,11 @@ +# encoding: utf-8 #!/usr/bin/env ruby +$LOAD_PATH.unshift(File.dirname(__FILE__)+"/../lib/") + + require 'rubygems' require 'rtf' include RTF @@ -46,6 +50,6 @@ p << "And there you have it. A simple example indeed." end File.open('example01.rtf', 'w') do |file| file.write(document.to_rtf) -end \ No newline at end of file +end