Tag

Your search for OpenStruct returned 1 result.


Recursively convert a Ruby hash to OpenStruct

I love OpenStruct. Like love love. The only reason I wouldn't marry it is that it won't recursively convert a nested hash to OpenStruct. So I wrote a hash extension to do just that. Wip out your credit cards, our wedding registry is forth coming. (more…)

Read More