lib/ridley/chef_objects/role_object.rb in ridley-1.1.1 vs lib/ridley/chef_objects/role_object.rb in ridley-1.2.0

- old
+ new

@@ -32,13 +32,13 @@ # obj.save # # @param [String] key # @param [Object] value # - # @return [HashWithIndifferentAccess] + # @return [Hashie::Mash] def set_override_attribute(key, value) - attr_hash = HashWithIndifferentAccess.from_dotted_path(key, value) + attr_hash = Hashie::Mash.from_dotted_path(key, value) self.override_attributes = self.override_attributes.deep_merge(attr_hash) end # Set a role level default attribute given the dotted path representation of the Chef # attribute and value @@ -50,12 +50,12 @@ # obj.save # # @param [String] key # @param [Object] value # - # @return [HashWithIndifferentAccess] + # @return [Hashie::Mash] def set_default_attribute(key, value) - attr_hash = HashWithIndifferentAccess.from_dotted_path(key, value) + attr_hash = Hashie::Mash.from_dotted_path(key, value) self.default_attributes = self.default_attributes.deep_merge(attr_hash) end end end