« Source Code for that Testing Library | Main | Ruby 1.9 Built-in Library--Finished First Pass »

March 18, 2008

Complex and Rational are now built-in to 1.9

Just when I thought I'd finished documenting the standard library for the new PickAxe, I did one last svn up of the Ruby interpreter source and discovered that the Complex and Rational classes are now builtins—no need to require the library to get the basic functionality. The change also affects a number of other built-in classes (you can now say nil.to_c, for example). I'm not 100% sure I agree with rolling in Complex, but the addition of rational numbers is a welcome change.

Unfortunately it's back to the drawing board on my plans to release a new beta today...

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/t/trackback/2226312/27222330

Listed below are links to weblogs that reference Complex and Rational are now built-in to 1.9:

Comments

Post a comment

If you have a TypeKey or TypePad account, please Sign In

Now in Beta

  • Programming Ruby, 3rd Edition
    Third Edition, Covering Ruby 1.9, now in beta
My Photo

Site Search

  • Google Search

    The web
    PragDave

Pragmatic Stuff

Photos

  • www.flickr.com
    This is a Flickr badge showing public photos from pragdave tagged with pragdave_badge. Make your own badge here.