Class: Tablecon::Row

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

Instance Method Summary collapse

Constructor Details

#initializeRow

Returns a new instance of Row.



143
144
145
# File 'lib/tablecon.rb', line 143

def initialize 
  @cells = []
end

Instance Method Details

#<<(cell) ⇒ Object



146
147
148
# File 'lib/tablecon.rb', line 146

def << cell
  @cells << cell
end

#eachObject



149
150
151
# File 'lib/tablecon.rb', line 149

def each
  @cells.each { |cell| yield cell }
end