Method: Puppet::Parameter.proxymethods
- Defined in:
- lib/puppet/parameter.rb
.proxymethods(*values) ⇒ 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.
Creates instance (proxy) methods that delegates to a class method with the same name.
286 287 288 289 290 291 292 |
# File 'lib/puppet/parameter.rb', line 286 def self.proxymethods(*values) values.each { |val| define_method(val) do self.class.send(val) end } end |