Class: Report::Table
- Inherits:
-
Object
- Object
- Report::Table
- Defined in:
- lib/report/table.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
- #_body ⇒ Object
- #_head ⇒ Object
- #body(&blk) ⇒ Object
- #head(&blk) ⇒ Object
-
#initialize(name) ⇒ Table
constructor
A new instance of Table.
Constructor Details
#initialize(name) ⇒ Table
Returns a new instance of Table.
4 5 6 |
# File 'lib/report/table.rb', line 4 def initialize(name) @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
3 4 5 |
# File 'lib/report/table.rb', line 3 def name @name end |
Instance Method Details
#_body ⇒ Object
20 21 22 |
# File 'lib/report/table.rb', line 20 def _body @body end |
#_head ⇒ Object
17 18 19 |
# File 'lib/report/table.rb', line 17 def _head @head end |