Method: Puppet::Pops::Types::TypeFactory.type_reference
- Defined in:
- lib/puppet/pops/types/type_factory.rb
.type_reference(type_string = nil) ⇒ PTypeReferenceType
Returns the type that represents a type reference with a given name and optional parameters.
619 620 621 |
# File 'lib/puppet/pops/types/type_factory.rb', line 619 def self.type_reference(type_string = nil) type_string == nil ? PTypeReferenceType::DEFAULT : PTypeReferenceType.new(type_string) end |