hoodwink.d enhanced
RSS
2.0
XHTML
1.0

RedHanded

Ruby 1.8.5 is Real Close, Here's Preview 4. #

by why in inspect

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?

said on 19 Aug 2006 at 04:09

Yes, lots ‘o extra docs! Thanks to hard work by Huge Sasse (and his prodding of me to check things in)!

said on 19 Aug 2006 at 09:02

Hooray for less syntax! I think that’s a very elegant solution by Matz.

said on 19 Aug 2006 at 14:03

Yeah I sent a patch for rails to the core list but they didn’t seem to like the idea of semicolons..

said on 19 Aug 2006 at 16:02

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.

said on 19 Aug 2006 at 23:36

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.

said on 20 Aug 2006 at 13:27

The ri core docs and gem docs don’t get mixed if you use ri --system or ri --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

said on 21 Aug 2006 at 01:43

Aha. Thanks for the info neil. :)

said on 22 Aug 2006 at 07:07

nooooo! i just used the where-colon yesterday! blast, ye!

said on 24 Aug 2006 at 15:31

Colons are legal again, btw.

said on 06 Sep 2006 at 10:25

what’s a where-colon?

And how the hell can you ban the colon?

said on DD Mon YYYY at HH:MM

* do fancy stuff in your comment.

PREVIEW PANE