Class: Applocale::ParseModelModule::KeyStrWithColNo
- Inherits:
-
Object
- Object
- Applocale::ParseModelModule::KeyStrWithColNo
- Defined in:
- lib/applocale/Core/ParseModel/parse_model_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.
62 63 64 65 |
# File 'lib/applocale/Core/ParseModel/parse_model_module.rb', line 62 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.
60 61 62 |
# File 'lib/applocale/Core/ParseModel/parse_model_module.rb', line 60 def colno @colno end |
#header_str ⇒ Object
Returns the value of attribute header_str.
60 61 62 |
# File 'lib/applocale/Core/ParseModel/parse_model_module.rb', line 60 def header_str @header_str end |
Instance Method Details
#to_s ⇒ Object
67 68 69 |
# File 'lib/applocale/Core/ParseModel/parse_model_module.rb', line 67 def to_s "{header_str => #{header_str}, colno => #{colno}}" end |