摘要:
EverNotehttp://www.evernote.com/WIZ知识管理软件(在线web/客户端)http://service.wiz.cn/web/使用邀请码可以享受VIP服务 注册:http://wizkm.com/wizkm/a/signup 主站:http://wiz.cn/ 邀请码:95862a3f 有道笔记 http://note.youdao.com/?vendor=youdao.index#Dropbox(网盘/文件同步) http://db.tt/pYGcJH5115 U盘 (大容量的网盘) http://u.115.com/Power CHMhttp://dawnin 阅读全文
posted @ 2011-09-09 14:25
兰猫-兰兰
阅读(216)
评论(0)
推荐(0)
摘要:
简单的include? 用法, 验证是否存在元素[[1,2], 'Dog', 'Bird'].include? [1,2,3] => false[[1,2],'Dog','Bird'].include?[1,2] => true 数组子集的判断方法一:arger_array = [1,2,3,4,5,6]smaller_array = [4,1]smaller_array.all? {|smaller_array_item| larger_array.include?(smaller_array_item)}方法二:[ 阅读全文
posted @ 2011-09-09 11:58
兰猫-兰兰
阅读(506)
评论(0)
推荐(0)


浙公网安备 33010602011771号