opal/opal — pull request #450 by marcandre (2013-12-04 07:25:46+00:00)
Title: Opal.hash accepts plain object as argument

When interfacing with Opal, it's quite natural to want to create a Hash from a plain javascript object.

Since `Opal.hash({key: 'value'})` currently returns a useless value, I modified it to return the desired hash.