Module: Puppet::Pops::Serialization::InstanceWriter Private

Included in:
ObjectWriter
Defined in:
lib/puppet/pops/serialization/instance_writer.rb

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

An instance writer is responsible for writing complex objects using a Serializer

Instance Method Summary collapse

Instance Method Details

#write(type, value, serializer) ⇒ 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.

Parameters:

  • type (Types::PObjectType)

    the type of instance to write

  • value (Object)

    the instance

  • serializer (Serializer)

    the serializer that will receive the written instance



9
10
11
# File 'lib/puppet/pops/serialization/instance_writer.rb', line 9

def write(type, value, serializer)
  Serialization.not_implemented(self, 'write')
end