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.
Instance Method Summary collapse
-
#initialize(key_header, lang_headers) ⇒ SheetInfoByHeader
constructor
A new instance of SheetInfoByHeader.
- #to_s ⇒ Object
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_header ⇒ Object
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_headers ⇒ Object
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_s ⇒ Object
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 |