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.3.0 lib/puppet/parser/yaml_trimmer.rb
puppet-3.3.0.rc3 lib/puppet/parser/yaml_trimmer.rb
puppet-3.3.0.rc2 lib/puppet/parser/yaml_trimmer.rb
puppet-3.2.4 lib/puppet/parser/yaml_trimmer.rb
puppet-3.2.3 lib/puppet/parser/yaml_trimmer.rb
puppet-3.2.3.rc1 lib/puppet/parser/yaml_trimmer.rb
puppet-3.2.2 lib/puppet/parser/yaml_trimmer.rb
puppet-3.2.1 lib/puppet/parser/yaml_trimmer.rb
puppet-3.2.1.rc1 lib/puppet/parser/yaml_trimmer.rb
puppet-3.2.0.rc2 lib/puppet/parser/yaml_trimmer.rb
librarian-puppet-0.9.9 vendor/gems/ruby/1.9.1/gems/puppet-3.1.0/lib/puppet/parser/yaml_trimmer.rb
puppet-3.2.0.rc1 lib/puppet/parser/yaml_trimmer.rb
puppet-3.1.1 lib/puppet/parser/yaml_trimmer.rb
librarian-puppet-0.9.8 vendor/gems/ruby/1.9.1/gems/puppet-3.1.0/lib/puppet/parser/yaml_trimmer.rb
puppet-3.1.0 lib/puppet/parser/yaml_trimmer.rb
puppet-3.1.0.rc2 lib/puppet/parser/yaml_trimmer.rb
puppet-3.1.0.rc1 lib/puppet/parser/yaml_trimmer.rb
puppet-3.0.2 lib/puppet/parser/yaml_trimmer.rb
puppet-3.0.2.rc3 lib/puppet/parser/yaml_trimmer.rb
puppet-3.0.2.rc2 lib/puppet/parser/yaml_trimmer.rb