class POI::Row
Public Class Methods
new(row, worksheet)
click to toggle source
# File lib/poi/workbook/row.rb, line 26 def initialize(row, worksheet) @row = row @worksheet = worksheet end
Public Instance Methods
[](index)
click to toggle source
# File lib/poi/workbook/row.rb, line 31 def [](index) return nil if poi_row.nil? cells[index] end
cells()
click to toggle source
# File lib/poi/workbook/row.rb, line 36 def cells @cells ||= Cells.new(self) end
index()
click to toggle source
# File lib/poi/workbook/row.rb, line 40 def index return nil if poi_row.nil? poi_row.row_num end
poi_row()
click to toggle source
def height_in_points= num
set_height_in_points num.to_f
end
# File lib/poi/workbook/row.rb, line 49 def poi_row @row end
worksheet()
click to toggle source
# File lib/poi/workbook/row.rb, line 53 def worksheet @worksheet end