Class: Applocale::ParseModelModule::LangWithColNo
- Inherits:
-
Object
- Object
- Applocale::ParseModelModule::LangWithColNo
- 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.
-
#lang ⇒ Object
Returns the value of attribute lang.
Instance Method Summary collapse
-
#initialize(header_str, lang, colno) ⇒ LangWithColNo
constructor
A new instance of LangWithColNo.
- #to_s ⇒ Object
Constructor Details
#initialize(header_str, lang, colno) ⇒ LangWithColNo
Returns a new instance of LangWithColNo.
76 77 78 79 80 |
# File 'lib/applocale/Core/ParseModel/parse_model_module.rb', line 76 def initialize(header_str, lang, colno) self.header_str = header_str self.lang = lang self.colno = colno end |
Instance Attribute Details
#colno ⇒ Object
Returns the value of attribute colno.
74 75 76 |
# File 'lib/applocale/Core/ParseModel/parse_model_module.rb', line 74 def colno @colno end |
#header_str ⇒ Object
Returns the value of attribute header_str.
74 75 76 |
# File 'lib/applocale/Core/ParseModel/parse_model_module.rb', line 74 def header_str @header_str end |
#lang ⇒ Object
Returns the value of attribute lang.
74 75 76 |
# File 'lib/applocale/Core/ParseModel/parse_model_module.rb', line 74 def lang @lang end |
Instance Method Details
#to_s ⇒ Object
82 83 84 |
# File 'lib/applocale/Core/ParseModel/parse_model_module.rb', line 82 def to_s "{header_str => #{header_str}, lang => #{lang}, colno => #{colno}}" end |