Class: Translatomatic::ResourceFile::Plist
- Defined in:
- lib/translatomatic/resource_file/plist.rb
Overview
Property list resource file
Defined Under Namespace
Instance Attribute Summary
Attributes inherited from Base
Class Method Summary collapse
-
.extensions ⇒ Array<String>
File extensions supported by this resource file.
-
.is_key_value? ⇒ boolean
True if the file format consists of keys and values.
Methods inherited from XML
Methods inherited from Base
#create_variable, enabled?, #format, #get, #initialize, #locale_path, #save, #sentences, #set, supports_variable_interpolation?, #to_s, #type, #variable_regex
Constructor Details
This class inherits a constructor from Translatomatic::ResourceFile::Base
Class Method Details
.extensions ⇒ Array<String>
Returns File extensions supported by this resource file.
12 13 14 |
# File 'lib/translatomatic/resource_file/plist.rb', line 12 def self.extensions %w{plist} end |
.is_key_value? ⇒ boolean
Returns True if the file format consists of keys and values.
17 18 19 |
# File 'lib/translatomatic/resource_file/plist.rb', line 17 def self.is_key_value? true end |