Class: Applocale::Config::SheetInfoByHeader

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key_header, lang_headers) ⇒ SheetInfoByHeader

Returns a new instance of SheetInfoByHeader.



97
98
99
100
# File 'lib/applocale/Core/setting.rb', line 97

def initialize(key_header, lang_headers)
  self.key_header = key_header
  self.lang_headers = lang_headers
end

Instance Attribute Details

#key_headerObject

Returns the value of attribute key_header.



95
96
97
# File 'lib/applocale/Core/setting.rb', line 95

def key_header
  @key_header
end

#lang_headersObject

Returns the value of attribute lang_headers.



95
96
97
# File 'lib/applocale/Core/setting.rb', line 95

def lang_headers
  @lang_headers
end

Instance Method Details

#to_sObject



102
103
104
# File 'lib/applocale/Core/setting.rb', line 102

def to_s
  return "key_header: #{self.key_header} | headers: #{self.lang_headers.to_s}"
end