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