![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Ruby
文章平均质量分 92
赵龙1043
对世界充满好奇的 Ruby 工程师
展开
-
Ruby 语法.整理
方法名中带参数,简写参数方法def set_from from ... end ,完整方法名写法set_form(form) ,Ruby 中不少地方都将 “( )” 省略,简化代码class Apple def color= color @color = color end def set_from from @@from = from endend原创 2018-01-25 22:06:51 · 371 阅读 · 0 评论 -
Ruby on Rails 常用终端指令
rails consolereload! 重新加载原创 2018-02-26 11:09:41 · 871 阅读 · 0 评论