lib/wiz_rtf/document.rb in wiz_rtf-0.5.0 vs lib/wiz_rtf/document.rb in wiz_rtf-0.5.5

- old
+ new

@@ -13,10 +13,11 @@ font 0, 'fswiss', 'Arial', 0, 2 font 1, 'fmodern', 'Courier New', 0, 1 font 2, 'fnil', '宋体', 2, 2 color 0, 0, 0 color 255, 0, 0 + color 255, 0, 255 block.arity<1 ? self.instance_eval(&block) : block.call(self) if block_given? end def head @@ -44,10 +45,9 @@ def line_break @parts << WizRtf::Cmd.new(:par) end - #writes a page interruption (new page) def page_break @parts << WizRtf::Cmd.new(:page) end def render(io)