> 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
> 

I'm a fan!

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list

Reply via email to