Sha256: 16243e27523a98e539fa32e0952b25f1d9e0d6cfcc5e3c9cfa2cd2d563dcb890
Contents?: true
Size: 373 Bytes
Versions: 12
Compression:
Stored size: 373 Bytes
Contents
$:.unshift(File.dirname(__FILE__)+"/../lib") require "reportbuilder" rb=ReportBuilder.new do text("2") section(:name=>"Section 1") do table(:name=>"Table", :header=>%w{id name}) do row([1,"John"]) hr row([2,"Peter"]) end end preformatted("Another Text") end rb.name="Text output" puts rb.to_text rb.name="Html output" puts rb.to_html
Version data entries
12 entries across 12 versions & 1 rubygems