Method: Translatomatic::ResourceFile::Base#get

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

#get(key) ⇒ String

Get the value of a property

Parameters:

  • key (String)

    The name of the property

Returns:

  • (String)

    The value of the property



69
70
71
# File 'lib/translatomatic/resource_file/base.rb', line 69

def get(key)
  @properties[key]
end