Sha256: c8a0801913d9d0e3c1fdb0e135c72e73a816f7990c9e7a9439dd427e3e144b50

Contents?: true

Size: 238 Bytes

Versions: 4

Compression:

Stored size: 238 Bytes

Contents

require 'rrtf'

DIR = File.dirname(__FILE__)

rtf = RRTF::Document.new

rtf.paragraph << "Redshirt Pocket Guide"
rtf.section("columns" => 2)
rtf.paragraph << "Section Text"

File.open(DIR+'/11.rtf', 'w') { |file| file.write(rtf.to_rtf) }

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rrtf-1.3.1 examples/11_sections.rb
rrtf-1.3.0 examples/11_sections.rb
rrtf-1.2.0 examples/11_sections.rb
rrtf-1.1.0 examples/11_sections.rb