Class: Tablet::Table
- Inherits:
-
Object
- Object
- Tablet::Table
- Defined in:
- lib/tablet/table.rb
Overview
Table object
Instance Attribute Summary collapse
-
#rows ⇒ Object
readonly
Returns the value of attribute rows.
Instance Method Summary collapse
-
#initialize(params = {}, &block) ⇒ Table
constructor
A new instance of Table.
Constructor Details
#initialize(params = {}, &block) ⇒ Table
Returns a new instance of Table.
13 14 15 |
# File 'lib/tablet/table.rb', line 13 def initialize(params = {}, &block) @rows = [] end |
Instance Attribute Details
#rows ⇒ Object (readonly)
Returns the value of attribute rows.
11 12 13 |
# File 'lib/tablet/table.rb', line 11 def rows @rows end |