class Ruby::Ods::Manager::Row

Attributes

no[R]

Public Class Methods

new(content, no) click to toggle source
# File lib/ruby/ods.rb, line 149
def initialize(content, no)
  @content = content
  @no = no
end

Public Instance Methods

cols() click to toggle source
# File lib/ruby/ods.rb, line 154
def cols
  return @cols if @cols
  @cols = []
  no = 'A'
  xpath('table:table-cell').each{|cell|
    @cols << Cell.new(cell, no)
    no.succ!
  }
  @cols
end
create_cell() click to toggle source
# File lib/ruby/ods.rb, line 165
def create_cell

end