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

HipsterHash is missing an easy way to convert to a plain Hash #3

Closed
schmidt opened this issue Jan 24, 2017 · 1 comment
Closed

HipsterHash is missing an easy way to convert to a plain Hash #3

schmidt opened this issue Jan 24, 2017 · 1 comment

Comments

@schmidt
Copy link

schmidt commented Jan 24, 2017

I think, HipsterHash should implement something like to_hash, so that it can easily be stripped of all the magic, if need be, e.g. in #2.

Unfortunately neither hh.to_hash, Hash(hh), nor Hash.new(hh) do something useful in this context.

@schmidt
Copy link
Author

schmidt commented Mar 14, 2017

Apparently there's Hash#to_h which does exactly that.

@schmidt schmidt closed this as completed Mar 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant