« Rubyisms (#1) | Main | Google Maps »

February 09, 2005

What’s Shiny and New in Ruby 1.8.0?

The best description of what's new in Ruby 1.8 by "why the lucky stiff":
.c( whytheluckystiff )o. -- What's Shiny and New in Ruby 1.8.0?

The changes include:
- new allocate method to create blank (uninitialized) objects
- to_str method
- anonymous modules and classes via blocks in Module.new and Class.new
- classes and constants can be declared using fully qualified names (Foo::Bar) instead of surrounding them with module declaration
- initialize_copy constructor is called on clone or dup
- New methods in Enumerable, Array, Hash, and Range
- REXML
- YAML
- WEBrick
- Ruby/DL
- StringIO
- open-uri
- PrettyPrint (pp)
- more

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/t/trackback/3087162/31463284

Listed below are links to weblogs that reference What’s Shiny and New in Ruby 1.8.0?:

Comments

Feed You can follow this conversation by subscribing to the comment feed for this post.

Post a comment

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