« January 2005 | Main | March 2005 »
Article of the day:
SOAP is Comatose But Not Officially Dead!
This is all you need to find the directory with the lastest version of the gem:
Gem.source_index.search("GEMNAME").last.full_gem_path
Network of tech talk-radio interviews -- streaming audio, RSS feeds, MP3 downloads:
IT Conversations
Google Maps are now in beta: Google Maps
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
You won't find C-like #ifdefs (conditional compilation) in Ruby. The following approach can be used instead.