Method: Puppet::Pops::Types::PAnyType#new_function
- Defined in:
- lib/puppet/pops/types/types.rb
#new_function ⇒ Function
Create an instance of this type. The default implementation will just dispatch the call to the class method with the same name and pass ‘self` as the first argument.
328 329 330 |
# File 'lib/puppet/pops/types/types.rb', line 328 def new_function self.class.new_function(self) end |