Method: Translatomatic::ResourceFile::Base#format

Defined in:
lib/translatomatic/resource_file/base.rb

#formatString

Returns The format of this resource file, e.g. “Properties”.

Returns:

  • (String)

    The format of this resource file, e.g. “Properties”



31
32
33
# File 'lib/translatomatic/resource_file/base.rb', line 31

def format
  self.class.name.demodulize.downcase.to_sym
end