Switch and crossing rails 铁路道岔用非对称断面钢轨
The first and second lines generate a Rails project and switch to the new directory.
第一行和第二行代码生成一个Rails项目,并切换到新目录。
After IronRuby 1.0, the project will switch to 1.9 support which should then support Rails 3.
在IronRuby 1.0以后,项目将会切换到对1.9的支持上,这样IronRuby就能够支持Rails 3。
The resulting code is a beautiful example of a tiny domain-specific language within Rails that extends Ruby to make a kind of switch statement. Here's how it works.
生成的代码是Rails中小型的特定于域的语句的优美示例,它扩展Ruby以构造一种switch语句。
应用推荐