summaryrefslogtreecommitdiff
path: root/lib/chef
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef')
-rw-r--r--lib/chef/property.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/property.rb b/lib/chef/property.rb
index e97d8f9607..3c40c020b6 100644
--- a/lib/chef/property.rb
+++ b/lib/chef/property.rb
@@ -431,7 +431,7 @@ class Chef
modified_options.has_key?(:default)
options = options.reject { |k,v| k == :name_attribute || k == :name_property || k == :default }
end
- Property.new(options.merge(modified_options))
+ self.class.new(options.merge(modified_options))
end
#