Class: ScrapCbf::HeaderColumn

Inherits:
Object
  • Object
show all
Defined in:
lib/scrap_cbf/models/table/header_column.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(value, title) ⇒ HeaderColumn

Returns a new instance of HeaderColumn.



6
7
8
9
# File 'lib/scrap_cbf/models/table/header_column.rb', line 6

def initialize(value, title)
  @value = value
  @title = title || nil
end

Instance Attribute Details

#titleObject (readonly)

Returns the value of attribute title.



5
6
7
# File 'lib/scrap_cbf/models/table/header_column.rb', line 5

def title
  @title
end

#valueObject (readonly)

Returns the value of attribute value.



5
6
7
# File 'lib/scrap_cbf/models/table/header_column.rb', line 5

def value
  @value
end