Class: ScrapCbf::HeaderColumn
- Inherits:
-
Object
- Object
- ScrapCbf::HeaderColumn
- Defined in:
- lib/scrap_cbf/models/table/header_column.rb
Instance Attribute Summary collapse
-
#title ⇒ Object
readonly
Returns the value of attribute title.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value, title) ⇒ HeaderColumn
constructor
A new instance of HeaderColumn.
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
#title ⇒ Object (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 |
#value ⇒ Object (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 |