aetherknight/recursive-open-struct — pull request #2 by mattheworiordan (2012-05-16 16:40:45+00:00)
Title: Support for Arrays(lists) in Recursive Open Struct

If the Hash you pass into RecursiveOpenStruct contains arrays, then the RecursiveOpenStruct stops at those objects. It is very useful to be able to access objects within arrays such as:

a = { :root => [{ :id => 1 }] }
aos = RecursiveOpenStruct.new(a)
a.root[0].id

Matt