# File lib/puppet/property/ensure.rb, line 45
45:   def change_to_s(currentvalue, newvalue)
46:     begin
47:       if currentvalue == :absent or currentvalue.nil?
48:         return "created"
49:       elsif newvalue == :absent
50:         return "removed"
51:       else
52:         return "#{self.name} changed '#{self.is_to_s(currentvalue)}' to '#{self.should_to_s(newvalue)}'"
53:       end
54:     rescue Puppet::Error, Puppet::DevError
55:       raise
56:     rescue => detail
57:       raise Puppet::DevError, "Could not convert change #{self.name} to string: #{detail}"
58:     end
59:   end