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