From: Dave Thomas Date: 2008-12-05T11:33:17+09:00 Subject: [ruby-core:20353] Re: Leave my open classes alone (was Behavior: autoload calls rb_require() directly) On Dec 4, 2008, at 4:40 PM, Yukihiro Matsumoto wrote: > Interesting. if a = "cat" calls String.new, it should take an > (string) argument to initialize the content "cat", then how should the > original content sting be initialized? Ah, got me :)... Except.... It seems to me that there is a set of basic types which sit below types such as fixnum and string. They're the raw data that the lexer and parser deal with. What makes them _Ruby_ numbers and strings is when that raw data gets wrapped up snugly inside a Ruby class. So, I think there's some merit in having the turn "cat" into some kind of basic character sequence, and passing that to String.new. Maybe... Dave