Method: Puppet::Pops::Loader::TypeDefinitionInstantiator.create_runtime_type
- Defined in:
- lib/puppet/pops/loader/type_definition_instantiator.rb
.create_runtime_type(type_definition) ⇒ 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.
62 63 64 65 66 67 |
# File 'lib/puppet/pops/loader/type_definition_instantiator.rb', line 62 def self.create_runtime_type(type_definition) # Using the RUNTIME_NAME_AUTHORITY as the name_authority is motivated by the fact that the type # alias name (managed by the runtime) becomes the name of the created type # create_type(type_definition.name, type_definition.type_expr, Pcore::RUNTIME_NAME_AUTHORITY) end |