Method: GetText::PoMessage#initialize
- Defined in:
-
lib/gettext/tools/pomessage.rb,
lib/gettext/tools/parser/ruby.rb
Create the object. type should be :normal, :plural, :msgctxt or :msgctxt_plural.
37 38 39 40 41 |
# File 'lib/gettext/tools/pomessage.rb', line 37 def initialize(type) @type = type @sources = [] @param_type = PARAMS[@type] end |