On Fri, May 04, 2007 at 06:18:19PM +0900, Hugh Sasse wrote:
> irb(main):008:0> require "footlewuddlewix" {|x| puts "got #{x}" }

The above does compile on 1.9, but on pre-1.9, you need:

require("footlewuddlewix") {|x| puts "got #{x}" }

> No, if require fails it raises an exception:
> 
> irb(main):003:0> require "footlewuddlewix"
> LoadError: no such file to load -- footlewuddlewix
>         from (irb):3:in `require'
>         from (irb):3
>         from :0
> irb(main):004:0>

So does Hash#fetch, if no default value or block is passed in.

Paul