Ruby Ruby 2.0 preview1 is out

huacnlee · November 02, 2012 · Last by winnie replied at December 02, 2012 · 3218 hits

http://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-preview1.tar.gz

功能

  • Refinements
  • Keyword arguments
  • Enumerator#lazy
  • Module#prepend
  • Converting convention to Hash: #to_h
  • %i: a literal for symbol array
  • regexp engine is changed to Onigmo
  • DTrace support

后面的发布计划:

  • 12 月初:2.0.0-preview2
  • 在圣诞节期间:代码冻结
  • 元旦:2.0.0-RC1
  • 2 月初:2.0.0-RC2
  • 2 月 24 日:2.0.0-P0

期待。。。又有新东西学了

我比较关心 mruby 的路线图... 但是好像没有公布

什么时候能请 koichi 来一次就好了

Unknow user #4 November 02, 2012

求编译方法

Unknow user #5 November 02, 2012

好吧,又土了 目测下面的方法可以

./configure
make

编译出 ruby 和 miniruby,肿么用对应的 irb?

#1 楼 @tiseheaini 不用学吧,应该是最小惊讶原则。

#6 楼 @sevk 只是感慨一下而已

You need to Sign in before reply, if you don't have an account, please Sign up first.