Yes! From Ruby 2.0 onwards `Struct` actually has a `#to_h` method for convertion to a hash. Many other core and standard library objects now support this interface.

http://www.ruby-doc.org/core-2.0/Struct.html#method-i-to_h