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

Allow exporting a normal, not-indifferent Hash #536

Merged

Conversation

michaelherold
Copy link
Member

Following the conventions in activesupport and the semantics of the
#to_hash method in Ruby's standard library, the #to_hash method for
a hash that has mixed in IndifferentAccess will now export the hash as
a normal, not-indifferent hash.

Closes #452

Following the conventions in `activesupport` and the semantics of the
`#to_hash` method in Ruby's standard library, the `#to_hash` method for
a hash that has mixed in `IndifferentAccess` will now export the hash as
a normal, not-indifferent hash.
@dblock dblock merged commit b741e5d into hashie:master Oct 23, 2020
@michaelherold michaelherold added the hacktoberfest-accepted Accepted changes for Hacktoberfest label Oct 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest-accepted Accepted changes for Hacktoberfest
Projects
None yet
2 participants