Module: Puppet::Parser::YamlTrimmer

Included in:
Resource, Resource::Param
Defined in:
lib/vendor/puppet/parser/yaml_trimmer.rb

Constant Summary collapse

REMOVE =
%w{@scope @source}

Instance Method Summary collapse

Instance Method Details

#to_yaml_propertiesObject



4
5
6
7
8
# File 'lib/vendor/puppet/parser/yaml_trimmer.rb', line 4

def to_yaml_properties
  r = instance_variables - REMOVE
  r -= skip_for_yaml if respond_to?(:skip_for_yaml)
  r
end