Method: GetText::PoMessage#initialize_old

Defined in:
lib/gettext/tools/parser/ruby.rb

#initialize_oldPoMessage

Create the object. type should be :normal, :plural, :msgctxt or :msgctxt_plural.

Returns:

  • (PoMessage)

    a new instance of PoMessage



103
104
105
106
107
# File 'lib/gettext/tools/parser/ruby.rb', line 103

def initialize(type)
  @type = type
  @sources = []
  @param_type = PARAMS[@type]
end