Class: Applocale::ParseXLSXModule::RowInfo

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(sheetname = nil, rowno = nil, key_str = nil) ⇒ RowInfo

Returns a new instance of RowInfo.



62
63
64
65
66
67
# File 'lib/applocale/Core/ParseXLSX/parse_xlsx_module.rb', line 62

def initialize(sheetname = nil, rowno = nil, key_str = nil)
  self.sheetname = sheetname
  self.rowno = rowno
  self.key_str = key_str
  self.content_dict = {}
end

Instance Attribute Details

#content_dictObject

Returns the value of attribute content_dict.



60
61
62
# File 'lib/applocale/Core/ParseXLSX/parse_xlsx_module.rb', line 60

def content_dict
  @content_dict
end

#key_strObject

Returns the value of attribute key_str.



60
61
62
# File 'lib/applocale/Core/ParseXLSX/parse_xlsx_module.rb', line 60

def key_str
  @key_str
end

#rownoObject

Returns the value of attribute rowno.



60
61
62
# File 'lib/applocale/Core/ParseXLSX/parse_xlsx_module.rb', line 60

def rowno
  @rowno
end

#sheetnameObject

Returns the value of attribute sheetname.



60
61
62
# File 'lib/applocale/Core/ParseXLSX/parse_xlsx_module.rb', line 60

def sheetname
  @sheetname
end

Instance Method Details

#to_sObject



69
70
71
# File 'lib/applocale/Core/ParseXLSX/parse_xlsx_module.rb', line 69

def to_s
  "sheetname = #{sheetname}, rowno = #{rowno}, key_str = #{key_str}, content_dict = #{content_dict}"
end