Method: GetText::POEntry#initialize
- Defined in:
-
lib/gettext/po_entry.rb,
lib/gettext/tools/parser/ruby.rb
Create the object. +type+ should be :normal, :plural, :msgctxt or :msgctxt_plural.
66 67 68 69 70 71 72 73 74 75 76 77 |
# File 'lib/gettext/po_entry.rb', line 66 def initialize(type) self.type = type @translator_comment = nil @extracted_comment = nil @references = [] @flag = nil @previous = nil @msgctxt = nil @msgid = nil @msgid_plural = nil @msgstr = nil end |