Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CHEF-3953] Mash class to_hash method leaves behind immutable objects #664

Closed
wants to merge 3 commits into from
Closed

[CHEF-3953] Mash class to_hash method leaves behind immutable objects #664

wants to merge 3 commits into from

Conversation

brianbianco
Copy link
Contributor

The to_hash method in the Mash class does a shallow copy, which leaves behind immutable Mash's if it is a nested structure.
This adds a method called to_hash_deep, which will recursively turn those immutable mash's into hashes

  The to_hash method in the Mash class does a shallow copy, which leaves behind immutable Mash's if it is a nested structure.
  This adds a method called to_hash_deep, which will recursively turn those immutable mash's into hashes
@brianbianco
Copy link
Contributor Author

Link to the associated Jira ticket: http://tickets.opscode.com/browse/CHEF-3953

  Replaces a unit test I accidentally removed when created a new one.  Truly epic failure on my behalf now corrected
@brianbianco brianbianco closed this Mar 5, 2013
@brianbianco brianbianco deleted the CHEF-3953 branch March 5, 2013 14:30
@chef chef locked and limited conversation to collaborators Nov 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant