6 kyu

Make Ruby Hashes Act Like JavaScript Objects

125 of 126bellmyer
Description
Loading description...
Refactoring
  • Please sign in or sign up to leave a comment.
  • Voile Avatar

    Needs more tests and random tests

  • darrencauthon Avatar

    "Upgrade" should be in quotes. Like:

    "Upgrade" Ruby's Hash class...

    I suggest this because some Ruby devs might consider this a neat thing to do in production. :smile:

  • manveru Avatar

    Might be worth specifying how the method should behave in case there are String keys. Otherwise it's a nice intro to method_missing, good job.

    • bellmyer Avatar

      Thanks, I did that just now. I chose to keep things simple and explicitly require only symbol support.

      Suggestion marked resolved by bellmyer 11 years ago