From: Yukihiro Matsumoto Date: 2010-01-10T01:02:13+09:00 Subject: [ruby-core:27505] Re: C can't instantiate over existing classes? Hi, In message "Re: [ruby-core:27504] C can't instantiate over existing classes?" on Sun, 10 Jan 2010 00:37:52 +0900, Roger Pack writes: |Is this expected? [1.9.1] I think so. If you define a class that conflicts with the loading library, it should raise some error. matz. |>> class StringIO; end |=> nil |>> require 'stringio' |NameError: StringIO is already defined | from (irb):2:in `require' | from (irb):2 | from E:/installs/ruby191p376/bin/irb:12:in `
' | |? |Thanks. |-r