Class: Tablet::Table

Inherits:
Object
  • Object
show all
Defined in:
lib/tablet/table.rb

Overview

Table object

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#rowsObject (readonly)

Returns the value of attribute rows.



11
12
13
# File 'lib/tablet/table.rb', line 11

def rows
  @rows
end