Method: Puppet::Pops::Types::TypeFactory.object
- Defined in:
- lib/puppet/pops/types/type_factory.rb
.object(hash = nil, loader = nil) ⇒ PObjectType
Produces an Object type from the given hash that represents the features of the object
214 215 216 |
# File 'lib/puppet/pops/types/type_factory.rb', line 214 def self.object(hash = nil, loader = nil) hash.nil? || hash.empty? ? PObjectType::DEFAULT : PObjectType.new(hash, loader) end |