nullobject icon indicating copy to clipboard operation
nullobject copied to clipboard

Add support for to_hash

Open bbhoss opened this issue 11 years ago • 3 comments

bbhoss avatar Mar 15 '13 20:03 bbhoss

What about #to_h? It was added as a convention in Ruby 2.0, and is meant to be used when you want to do an explicit conversion of an object to a Hash, while #to_hash method is for implicit conversion.

dkubb avatar Mar 16 '13 08:03 dkubb

Agreed, Ruby 2.0 support will be good to have here

nilbus avatar Mar 16 '13 11:03 nilbus

Done

bbhoss avatar Mar 16 '13 16:03 bbhoss