Class: Sheetah::Sheet::Header
- Inherits:
-
Object
- Object
- Sheetah::Sheet::Header
- Defined in:
- lib/sheetah/sheet.rb
Instance Attribute Summary collapse
-
#col ⇒ Object
readonly
Returns the value of attribute col.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(col:, value:) ⇒ Header
constructor
A new instance of Header.
- #row_value_index ⇒ Object
Constructor Details
#initialize(col:, value:) ⇒ Header
Returns a new instance of Header.
48 49 50 51 |
# File 'lib/sheetah/sheet.rb', line 48 def initialize(col:, value:) @col = col @value = value end |
Instance Attribute Details
#col ⇒ Object (readonly)
Returns the value of attribute col.
53 54 55 |
# File 'lib/sheetah/sheet.rb', line 53 def col @col end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
53 54 55 |
# File 'lib/sheetah/sheet.rb', line 53 def value @value end |