Ruby 1.8.5 is Real Close, Here's Preview 4. #
Today Matz announced 1.8.5-preview 4.
ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.5-preview4.tar.gz c30cdad5b208116682db24d548f20b2f
I’ve been running 1.8.5 for the last few weeks and, let me tell you, you’re in store for a ton of warnings. I was totally wrong about Frosted MiniColons. Matz is deprecating the lovely where-colon, which has really gained momentum out there, notably ActiveRecord is replete. Matz gives the fix: swap the plain colon with a semi.
Also, ri
is everywhere in this one. Every gem gets shaken for its ri
docs. It seems like make install-doc
takes a lot longer this time around. The SOAP4R scan nearly halts my 550MHz. But, hey extra docs, right?
drbrain
Yes, lots ‘o extra docs! Thanks to hard work by Huge Sasse (and his prodding of me to check things in)!
codekitchen
Hooray for less syntax! I think that’s a very elegant solution by Matz.
c3
Yeah I sent a patch for rails to the core list but they didn’t seem to like the idea of semicolons..
neil
And there is something wrong in 1.8.5-pre4 with ri and methods of Module:
$ ri Module#module_eval
Nothing known about Module#module_eval
I get the same error with any other Module method.
MonkeSage
The core docs for Module seem to have gotten mixed up with the rake docs. Check out
Module#const_missing
...uhh…
--classic-namespace
? that’s a rake option.neil
The ri core docs and gem docs don’t get mixed if you use
ri --system
orri --gems
, and since the system docs for Module are missing you only get the gem doc (rake in your case) if you dont specify any ri option.Try this:
$ ri --system Module#const_missing<br>
Nothing known about Module#const_missing
MonkeeSage
Aha. Thanks for the info neil. :)
twifkak
nooooo! i just used the where-colon yesterday! blast, ye!
Jeremy
Colons are legal again, btw.
Chris
what’s a where-colon?
And how the hell can you ban the colon?