Class: Applocale::ParseXLSXModule::KeyStrWithColNo
- Inherits:
-
Object
- Object
- Applocale::ParseXLSXModule::KeyStrWithColNo
- Defined in:
- lib/applocale/Core/ParseXLSX/parse_xlsx_module.rb
Instance Attribute Summary collapse
-
#colno ⇒ Object
Returns the value of attribute colno.
-
#header_str ⇒ Object
Returns the value of attribute header_str.
Instance Method Summary collapse
-
#initialize(header_str, colno) ⇒ KeyStrWithColNo
constructor
A new instance of KeyStrWithColNo.
- #to_s ⇒ Object
Constructor Details
#initialize(header_str, colno) ⇒ KeyStrWithColNo
Returns a new instance of KeyStrWithColNo.
79 80 81 82 |
# File 'lib/applocale/Core/ParseXLSX/parse_xlsx_module.rb', line 79 def initialize(header_str, colno) self.header_str = header_str self.colno = colno end |
Instance Attribute Details
#colno ⇒ Object
Returns the value of attribute colno.
77 78 79 |
# File 'lib/applocale/Core/ParseXLSX/parse_xlsx_module.rb', line 77 def colno @colno end |
#header_str ⇒ Object
Returns the value of attribute header_str.
77 78 79 |
# File 'lib/applocale/Core/ParseXLSX/parse_xlsx_module.rb', line 77 def header_str @header_str end |
Instance Method Details
#to_s ⇒ Object
84 85 86 |
# File 'lib/applocale/Core/ParseXLSX/parse_xlsx_module.rb', line 84 def to_s "{header_str => #{header_str}, colno => #{colno}}" end |