Class: Translatomatic::ResourceFile::Plist

Inherits:
XML
  • Object
show all
Defined in:
lib/translatomatic/resource_file/plist.rb

Overview

Property list resource file

Instance Attribute Summary

Attributes inherited from Base

#locale, #path, #properties

Class Method Summary collapse

Methods inherited from XML

#initialize, #save, #set

Methods inherited from Base

#create_variable, #format, #get, #initialize, #locale_path, #save, #sentences, #set, #supports_variable_interpolation?, #to_s, #valid?, #variable_regex

Constructor Details

This class inherits a constructor from Translatomatic::ResourceFile::XML

Class Method Details

.extensionsArray<String>

Returns File extensions supported by this resource file.

Returns:

  • (Array<String>)

    File extensions supported by this resource file



8
9
10
# File 'lib/translatomatic/resource_file/plist.rb', line 8

def self.extensions
  %w{plist}
end