diff options
author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-07-04 22:25:23 +0000 |
---|---|---|
committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-07-04 22:25:23 +0000 |
commit | c762c1960cc278f974c098ede994bb82f63fd893 (patch) | |
tree | 568e3ce09d32176206e32e7da08af5fde87953ff /lib/puppet/propertychange.rb | |
parent | 0ff7827d4d7f42fe59c10af35266f197e83b2b17 (diff) | |
download | puppet-c762c1960cc278f974c098ede994bb82f63fd893.tar.gz puppet-c762c1960cc278f974c098ede994bb82f63fd893.tar.xz puppet-c762c1960cc278f974c098ede994bb82f63fd893.zip |
Removing the long-obsolete Element base class. The Parameter and Type classes no longer have the same base class.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2647 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet/propertychange.rb')
-rw-r--r-- | lib/puppet/propertychange.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/propertychange.rb b/lib/puppet/propertychange.rb index ff221cd52..c6901edfb 100644 --- a/lib/puppet/propertychange.rb +++ b/lib/puppet/propertychange.rb @@ -53,7 +53,7 @@ module Puppet end def initialize(property, currentvalue) - unless property.is_a?(Puppet::Type::Property) + unless property.is_a?(Puppet::Property) raise Puppet::DevError, "Got a %s instead of a property" % property.class end |