From: Robert Klemme Date: 2008-04-23T16:22:59+09:00 Subject: Re: Extending Hast class with custom [] []= methods 2008/4/23, Chris Shea : > Or just use Rubinius: http://pastie.textmate.org/185232 Or delegation h = CiHash.new h["FOO"]=1 h[:not_a_string]=2 # works, too puts h["foo"] puts h[:not_a_string] Cheers robert -- use.inject do |as, often| as.you_can - without end