2008/5/23, Heesob Park <phasis / gmail.com>: > def []=(k,v) > k = CiString.new(k) if String === k > __getobj__[k] = v > end > > def [](k) > k = CiString.new(k) if String === k > > __getobj__[k] > end > > def find(ifnone = nil,&blk) > __getobj__.find(ifnone,&blk) > end > > def find_all(&blk) > __getobj__.find_all(&blk) > end Thanks a lot, but it gives me errors: @uri => {"T%61g"=>"%61liCE", "qwe"=>"qqqqqqqqqqQQQQQQQQQQQ"} @uri.find {|e| e[0] == "qwe" } NoMethodError: undefined method `string' for "qwe":String from uri.rb:72:in `==' from (irb):6 from (irb):6:in `find' from uri.rb:98:in `each' from uri.rb:98:in `find' from uri.rb:98:in `find' from (irb):6 Unfortunatelly I have no idea of how to debug it since I don't understand how exactly Delegator works. Any tip please? Really thanks a lot. -- IƱaki Baz Castillo <ibc / aliax.net>