2015年12月20日
摘要: 解决http://askubuntu.com/questions/339702/network-service-discovery-disabled-what-does-this-mean-for-me/339709#339709To disable it, you must edit the fi... 阅读全文
posted @ 2015-12-20 17:34 c3tc3tc3t 阅读(4033) 评论(0) 推荐(0) 编辑
摘要: reject和reject!reject返回不满足代码块的元素数组reject!删除数组中满足代码块的元素a=[1,2,3,5]a.reject! {|x| x4}p cp b[1, 2, 3, 4][1, 2, 3, 4, 5] 阅读全文
posted @ 2015-12-20 12:28 c3tc3tc3t 阅读(1013) 评论(0) 推荐(0) 编辑