Sha256: ea58400c0ada3e744e8c1178c0599248338280b5572f3f80f40db8bf20b1ac8b
Contents?: true
Size: 482 Bytes
Versions: 7
Compression:
Stored size: 482 Bytes
Contents
require 'examples/example_workbook' # $ bundle exec ruby examples/text.rb ExampleWorkbook.new("text") do style 'general_text' do alignment(:horizontal => :left, :vertical => :top, :wrap_text => true) # set format to text explicitly number_format("@") end worksheet('text') do column row { cell(:style_id => "general_text") { data %{ A blob of <text> with line breaks, /escaped/ characters & "leading" 'space'} } } end end
Version data entries
7 entries across 7 versions & 1 rubygems