blob: 14064c8e6673fe7af1f8b813e65b44c300ea118e (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
module Puppet::Parser::YamlTrimmer
REMOVE = %w{@scope @source}
def to_yaml_properties
r = instance_variables - REMOVE
if respond_to?(:skip_for_yaml)
r -= skip_for_yaml()
end
r
end
end
|