2013/6/19 silasdavis (Silas Davis) <ruby-lang / silasdavis.net>:
> Issue #8544 has been reported by silasdavis (Silas Davis).

> However the following should produce the same output and is a URI, but fails:
>
> open('file:///tmp/file.txt').read {|f| puts f.read }

open(uri) is impelemented as URI.parse(uri).open.

If URI class has a dedicated class for file URI, such as URI::File,
it is possible to implement URI::File#open.
-- 
Tanaka Akira