From: Roger Pack Date: 2009-04-11T13:52:49+09:00 Subject: a few thoughts for ruby... Thought I'd pass these thoughts by the readers here before sending them to core. They're my current wish list :) 1) add an Object#in? method to complement the existing Array#include? 2) add some useful lists of exceptions, ex: IO.SELECT_EXCEPTIONS, IO.READ_EXCEPTIONS, so that you can rescue the wide gamut of them appropriately, should you desire to. 3) provide an easier way to know which platform you're on than RUBY_PLATFORM =~ /mswin32|dgjpp|mingw/ 4) (this one's controversial) remove the extra # for code in strings (i.e. "string#{code}") -> "string{code}" less typing. 5) add a BigDecimal(float) method. -> BigDecimal.new("%f" % float) 6) add Dir.directory? -> File.directory? Feedback? Thanks! -=r -- Posted via http://www.ruby-forum.com/.