Method: GetText::POEntry#initialize_old

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

#initialize_oldPOEntry

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

Returns:

  • (POEntry)

    a new instance of POEntry



104
105
106
107
108
109
110
111
112
113
114
115
# File 'lib/gettext/tools/parser/ruby.rb', line 104

def initialize(type)
  self.type = type
  @translator_comment = nil
  @extracted_comment = nil
  @references = []
  @flags = []
  @previous = nil
  @msgctxt = nil
  @msgid = nil
  @msgid_plural = nil
  @msgstr = nil
end