Class: Applocale::ParseXLSXModule::LangWithColNo

Inherits:
Object
  • Object
show all
Defined in:
lib/applocale/Core/ParseXLSX/parse_xlsx_module.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(header_str, lang, colno) ⇒ LangWithColNo

Returns a new instance of LangWithColNo.



93
94
95
96
97
# File 'lib/applocale/Core/ParseXLSX/parse_xlsx_module.rb', line 93

def initialize(header_str, lang, colno)
  self.header_str = header_str
  self.lang = lang
  self.colno = colno
end

Instance Attribute Details

#colnoObject

Returns the value of attribute colno.



91
92
93
# File 'lib/applocale/Core/ParseXLSX/parse_xlsx_module.rb', line 91

def colno
  @colno
end

#header_strObject

Returns the value of attribute header_str.



91
92
93
# File 'lib/applocale/Core/ParseXLSX/parse_xlsx_module.rb', line 91

def header_str
  @header_str
end

#langObject

Returns the value of attribute lang.



91
92
93
# File 'lib/applocale/Core/ParseXLSX/parse_xlsx_module.rb', line 91

def lang
  @lang
end

Instance Method Details

#to_sObject



99
100
101
# File 'lib/applocale/Core/ParseXLSX/parse_xlsx_module.rb', line 99

def to_s
  "{header_str => #{header_str}, lang => #{lang}, colno => #{colno}}"
end