Ruby 1.9.3’s OpenStruct This has just helped me clean up some tests in a new project. Nice. Share this: Click to share on X (Opens in new window) X Click to share on Facebook (Opens in new window) Facebook Click to share on Reddit (Opens in new window) Reddit Click to email a link to a friend (Opens in new window) Email Click to print (Opens in new window) Print Like Loading... Related
Agreed, useful stuff! FYI, been around for a bit: http://www.ruby-doc.org/stdlib-1.8.7/libdoc/ostruct/rdoc/OpenStruct.html Reply December 27, 2011 at 3:54 pm
Hi Luke, best of the season to you. I’ve used it before, but it doesn’t seem to stick in my head. Reply December 27, 2011 at 5:04 pm
Agreed, useful stuff! FYI, been around for a bit: http://www.ruby-doc.org/stdlib-1.8.7/libdoc/ostruct/rdoc/OpenStruct.html
Hi Luke, best of the season to you.
I’ve used it before, but it doesn’t seem to stick in my head.