Class: Applocale::Config::SheetInfoByHeader
- Inherits:
-
Object
- Object
- Applocale::Config::SheetInfoByHeader
- Defined in:
- lib/applocale/Core/setting.rb
Instance Attribute Summary collapse
-
#key_header ⇒ Object
Returns the value of attribute key_header.
-
#lang_headers ⇒ Object
Returns the value of attribute lang_headers.
-
#use_export ⇒ Object
Returns the value of attribute use_export.
Instance Method Summary collapse
-
#initialize(key_header, lang_headers, use_export) ⇒ SheetInfoByHeader
constructor
A new instance of SheetInfoByHeader.
- #to_s ⇒ Object
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_header ⇒ Object
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_headers ⇒ Object
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_export ⇒ Object
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_s ⇒ Object
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 |