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.
62 63 64 65 66 67 68 69 |
# File 'lib/puppet/pops/issues.rb', line 62 def initialize *argnames singleton = class << self; self end argnames.each do |name| singleton.send(:define_method, name) do @data[name] end end end |