Sha256: f45f98a3712c4f907ea81334c6bdae0da43f370fd54a928ad3a093b68b1df566
Contents?: true
Size: 369 Bytes
Versions: 4
Compression:
Stored size: 369 Bytes
Contents
class Report class Table attr_reader :name def initialize(name) @name = name end def body(&blk) b = Body.new self b.instance_eval(&blk) @body = b end def head(&blk) h = Head.new self h.instance_eval(&blk) @head = h end def _head @head end def _body @body end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
report-0.1.1 | lib/report/table.rb |
report-0.1.0 | lib/report/table.rb |
report-0.0.3 | lib/report/table.rb |
report-0.0.2 | lib/report/table.rb |