Closed nicolasmlv closed 8 years ago
I believe that better than doing hash = {}
before the inject would be hash = values.inject({}) ...
because it can be misleading to have two variable with the same name.
Sorry to comment on a already merged issue.
Could you fix it, Brizeno? On Jan 20, 2016 10:12 AM, "Marcos Brizeno" notifications@github.com wrote:
I believe that better than doing hash = {} before the inject would be hash = values.inject({}) ... because it can be misleading to have two variable with the same name.
Sorry to comment on a already merged issue.
— Reply to this email directly or view it on GitHub https://github.com/franzejr/best-ruby/pull/54#issuecomment-173198994.
Thanks!