From: Joel VanderWerf Date: 2010-06-01T02:24:13+09:00 Subject: Re: uninitialized constant error... trying to create a TCPsocket in a module Robert Klemme wrote: > 2010/5/31 Dennis Nedry : >> On Mon, May 31, 2010 at 2:36 AM, Caleb Clausen wrote: >>> Spelled wrong, I guess. The correct name is TCPSocket, not TCPsocket. >>> >> Thanks. I looked at that for hours and didn't notice. I take it the >> rules have been more strictly enforced in 1.9 (because that's been >> like that for years)? I've never really cared for capitalisation >> making a difference... > > Capitalization of identifiers *always* made a difference in Ruby! > ("always" meaning "as long as I use Ruby, which is somewhere since > 1.8.x" - but I doubt such a crucial feature has changed before; if at > all then I guess in one of 0.x versions.) Almost always: $ ruby -v -r socket -e 'p TCPSocket, TCPsocket' ruby 1.8.7 (2010-01-10 patchlevel 249) [x86_64-linux] TCPSocket TCPSocket