search for: new_ostruct_memb

Displaying 1 result from an estimated 1 matches for "new_ostruct_memb".

Did you mean: new_ostruct_member
2007 Sep 25
16
putting away HashWithIndifferentAccess
...a replacement. I''m not too hot on [symbol] and [string] equivalence. But I do like to call the query string vars like methods. What do you think about using OpenStruct instead? I''ve been testing with this: class H < OpenStruct def u h;for k,v in h;@table[k.to_sym]=v;new_ostruct_member(k);end def self.[] *a;new *a;end en Or, you know, just Hash is okay, right folks? _why