Skip to content
This repository has been archived by the owner on Mar 21, 2018. It is now read-only.

alias #to_hash to #to_h #10

Open
rmoriz opened this issue Sep 27, 2015 · 0 comments
Open

alias #to_hash to #to_h #10

rmoriz opened this issue Sep 27, 2015 · 0 comments

Comments

@rmoriz
Copy link

rmoriz commented Sep 27, 2015

Can we please add #to_h as an alias for #to_hash for:
https://github.com/reset/buff-config/blob/master/lib/buff/config.rb#L27

#to_h is rather the Ruby-default for various objects, e.g.

irb(main):002:0> [].to_h
=> {}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant