summaryrefslogtreecommitdiff
path: root/lib/chef/property.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/property.rb')
-rw-r--r--lib/chef/property.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/property.rb b/lib/chef/property.rb
index d65545c138..720fa70dd1 100644
--- a/lib/chef/property.rb
+++ b/lib/chef/property.rb
@@ -574,7 +574,7 @@ class Chef
# be using the existing getter/setter to manipulate it instead.
return unless instance_variable_name
- # Properties may override existing properties up the inheritance heirarchy, but
+ # Properties may override existing properties up the inheritance hierarchy, but
# properties must not override inherited methods like Object#hash. When the Resource is
# placed into the resource collection the ruby Hash object will call the
# Object#hash method on the resource, and overriding that with a property will cause
@@ -702,7 +702,7 @@ class Chef
# override their own properties.
return false unless [ Object, BasicObject, Kernel, Chef::Resource ].include?(declared_in.instance_method(name).owner)
- # Allow top-level Chef::Resource proprties, such as `name`, to be overridden.
+ # Allow top-level Chef::Resource properties, such as `name`, to be overridden.
# As of this writing, `name` is the only Chef::Resource property created with the
# `property` definition, but this will allow for future properties to be extended
# as needed.