module Puppet::Pops::Serialization::InstanceWriter

An instance writer is responsible for writing complex objects using a {Serializer} @api private

Public Instance Methods

write(type, value, serializer) click to toggle source

@param [Types::PObjectType] type the type of instance to write @param [Object] value the instance @param [Serializer] serializer the serializer that will receive the written instance

   # File lib/puppet/pops/serialization/instance_writer.rb
 9 def write(type, value, serializer)
10   Serialization.not_implemented(self, 'write')
11 end