From: puzzled186@... Date: 2001-11-07T06:26:13+09:00 Subject: [ruby-talk:24456] Range in Hash array? I'd like to be able to do something like: {1..100=>"a",101..300=>"c", 500..1000=>"r"} The syntax accepts it, but it doesn't behave the way I'd like (always comes up nil). Anyway to pull this off (currently using a case statement). TIA