Ruby 1.9.0 released?
12/25 23:33 の commit で 1.9.0 は freeze されてリリース……のかな?
Tue Dec 25 23:33:55 2007 Yukihiro Matsumoto <matz@ruby-lang.org> * development version 1.9.0 released.
でも、svn リポジトリ上で tag が作られた様子は無いので、まだなのかも。
あと、Code Golf 用の goruby という実行ファイルがどさくさに紛れて追加されたようだ(ruby-dev:32766 )。
下のようなコードが予め組み込まれた ruby 処理系で、メソッド名を省略できたり h 一文字で "Hello, world!" と表示されたり、なかなかアヤシイ。
class Object def method_missing m, *a, &b r = /^#{m}/ t = (methods + private_methods).sort.find{|e|r=~e} t ? __send__(t, *a, &b) : super end def h(a='H', b='w', c='!') puts "#{a}ello, #{b}orld#{c}" end end