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, use_export) ⇒ SheetInfoByHeader

Returns a new instance of SheetInfoByHeader.



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

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

Instance Attribute Details

#key_headerObject

Returns the value of attribute key_header.



100
101
102
# File 'lib/applocale/Core/setting.rb', line 100

def key_header
  @key_header
end

#lang_headersObject

Returns the value of attribute lang_headers.



100
101
102
# File 'lib/applocale/Core/setting.rb', line 100

def lang_headers
  @lang_headers
end

#use_exportObject

Returns the value of attribute use_export.



100
101
102
# File 'lib/applocale/Core/setting.rb', line 100

def use_export
  @use_export
end

Instance Method Details

#to_sObject



108
109
110
# File 'lib/applocale/Core/setting.rb', line 108

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