ruby
文章平均质量分 50
beyong_mrzou
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
在ubuntu下的ruby文件不能运行
在ruby的文件中 a.rb中有中文 出现错误:invalid multibyte char (UTF-8) 在编辑文件第一行添加 “#encoding:gbk” 可以解决原创 2014-02-13 20:31:29 · 770 阅读 · 0 评论 -
ruby中的Proc类的理解
这是ruby的API文档中的解释: Proc objects are blocks of code that have been bound to a set of local variables. Once bound, the code may be called in different contexts and still access those variables. Pro原创 2014-02-14 11:36:03 · 2063 阅读 · 0 评论 -
writeexcel gem 中的合并格式的问题的解决
发生的背景: 在自己原创 2014-08-14 16:11:21 · 932 阅读 · 0 评论 -
在rails中pluck和select和collect区别
1.背景: 之前一直使用原创 2014-09-02 15:08:49 · 3268 阅读 · 0 评论 -
ruby中的join,split,send,map,each,collect,inject方法总结
map方法和collect方法的使用一样,都是先新建一个数组,然后取得对象的元素,然后最后一步操作的数返回作为数组一个元素,虽然each方法也是遍历对象的元素,但是each不返回操作后的数,each只返回该数组的元素的值。原创 2014-01-20 15:07:45 · 3763 阅读 · 0 评论
分享