作者查詢 / yjc1
作者 yjc1 在 PTT [ Ruby ] 看板的留言(推文), 共13則
限定看板:Ruby
看板排序:
首頁
上一頁
1
下一頁
尾頁
2F→:#{}為字串專用,要在 re 中使用的話請搭配 Regexp.compile()11/29 21:35
5F→:ruby 2.3.2 ?09/03 19:32
1F→:http://acko.net/dev/farbtastic , 這個 jquery color picker07/16 22:43
2F→:http://blog.twitter.com/2008/09/changes-afoot.html07/16 22:45
2F→:Never underestimate the power of the darkside07/16 00:05
8F→:不能用 String#tr ?10/30 00:18
1F→:global_variables 管的是 $ 開頭的變數, 取 'var' 一定失敗10/12 04:05
1F推:因為 ruby 用 quick sort (unstable sort algorithm)01/28 17:13
3F推:不,如果是 stable sort, 用原po的方式第一次排 value01/28 19:31
4F→:第二次排 key 就可以達到本來想要的效果01/28 19:32
5F→:呃,寫錯,是第一次排 key 第二次排 value , sorry01/28 19:32
2F→:因為 rubygems 會 override require , 等同 require_gem12/22 15:35
7F→:用 str << " world"12/08 18:11
首頁
上一頁
1
下一頁
尾頁