Class: Applocale::ParseModelModule::RowInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/applocale/Core/ParseModel/parse_model_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.



45
46
47
48
49
50
# File 'lib/applocale/Core/ParseModel/parse_model_module.rb', line 45

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.



43
44
45
# File 'lib/applocale/Core/ParseModel/parse_model_module.rb', line 43

def content_dict
  @content_dict
end

#key_strObject

Returns the value of attribute key_str.



43
44
45
# File 'lib/applocale/Core/ParseModel/parse_model_module.rb', line 43

def key_str
  @key_str
end

#rownoObject

Returns the value of attribute rowno.



43
44
45
# File 'lib/applocale/Core/ParseModel/parse_model_module.rb', line 43

def rowno
  @rowno
end

#sheetnameObject

Returns the value of attribute sheetname.



43
44
45
# File 'lib/applocale/Core/ParseModel/parse_model_module.rb', line 43

def sheetname
  @sheetname
end

Instance Method Details

#to_sObject



52
53
54
# File 'lib/applocale/Core/ParseModel/parse_model_module.rb', line 52

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