Sha256: e593776bc5e601d06d1f09811c08078db8484504a93c9ae4ac54a0783ab08dc1

Contents?: true

Size: 198 Bytes

Versions: 28

Compression:

Stored size: 198 Bytes

Contents

module Puppet::Parser::YamlTrimmer
  REMOVE = [:@scope, :@source]

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

Version data entries

28 entries across 28 versions & 2 rubygems

Version Path
puppet-3.0.2.rc1 lib/puppet/parser/yaml_trimmer.rb
puppet-3.0.1 lib/puppet/parser/yaml_trimmer.rb
puppet-3.0.1.rc1 lib/puppet/parser/yaml_trimmer.rb
puppet-3.0.0 lib/puppet/parser/yaml_trimmer.rb
puppet-3.0.0.rc8 lib/puppet/parser/yaml_trimmer.rb
puppet-3.0.0.rc7 lib/puppet/parser/yaml_trimmer.rb
puppet-3.0.0.rc5 lib/puppet/parser/yaml_trimmer.rb
puppet-3.0.0.rc4 lib/puppet/parser/yaml_trimmer.rb