Method: Puppet::ModuleTool::Metadata#method_missing

Defined in:
lib/puppet/module_tool/metadata.rb

#method_missing(name, *args) ⇒ Object

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.

Expose any metadata keys as callable reader methods.



117
118
119
120
121
# File 'lib/puppet/module_tool/metadata.rb', line 117

def method_missing(name, *args)
  return @data[name.to_s] if @data.key? name.to_s

  super
end