Method: Puppet::Pops::Issues::MessageData#initialize

Defined in:
lib/puppet/pops/issues.rb

#initialize(*argnames) ⇒ MessageData

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of MessageData.



65
66
67
68
69
70
71
72
# File 'lib/puppet/pops/issues.rb', line 65

def initialize *argnames
  singleton = class << self; self end
  argnames.each do |name|
    singleton.send(:define_method, name) do
      @data[name]
    end
  end
end