class TableAnalysis::HeaderTd
Attributes
length[RW]
rowspan[RW]
Public Class Methods
config(rowspan, length)
click to toggle source
# File lib/table_analysis/header.rb, line 24 def self.config(rowspan, length) new(rowspan, length) end
new(rowspan, length)
click to toggle source
# File lib/table_analysis/header.rb, line 19 def initialize(rowspan, length) @rowspan = rowspan.nil? ? 1 : rowspan.to_i @length = length.nil? ? 1 : length.to_i end