Since OpenStruct has some performance issues ([http://ruby-doc.org/](http://ruby-doc.org/stdlib-1.9.3/libdoc/ostruct/rdoc/OpenStruct.html#label-Implementation%3A), [http://jamesgolick.com/](http://jamesgolick.com/2013/4/14/mris-method-caches.html)), I must ask: could this be done with a Struct instead, i.e.
```ruby
args[0] = Struct.new(:name).new(name)
```