Method: Puppet::Pops::Types::PObjectType#read

Defined in:
lib/puppet/pops/types/p_object_type.rb

#read(value_count, deserializer) ⇒ 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.

Read an instance of this type from a deserializer

Parameters:

  • the number attributes needed to create the instance

  • the deserializer to read from

Returns:

  • the created instance

API:

  • private



491
492
493
# File 'lib/puppet/pops/types/p_object_type.rb', line 491

def read(value_count, deserializer)
  reader.read(self, implementation_class, value_count, deserializer)
end