Wouldn't it be useful with a missing value in hash tables so you avoid the
nil value and having to test for this?

files = { "item1" => "myfile.rb", "item2" => "mytestdata", missing_value =>
"Untitled"}
window.caption = files[current_item]

(this is probably implemented or conflicts with something, this is what
happens to all my wouldn't it be nice....)

Mikkel