没有合适的资源?快使用搜索试试~ 我知道了~
采集 类型检查集 例 type = String collection = Collection :: Set . new ( type ) collection . add ( 'something' ) collection . entry? { | v | v == 'something' } # => true collection . entry? ( 'something' ) # => true collection . add ( :not_a_string ) # => ArgumentError (:not_a_string must be a String) 通用风格 type = String cls = Collection :: Set [ type ] cls # => "Collection::Set::String" collection = cls .
资源推荐
资源详情
资源评论
收起资源包目录
collection-master.zip (28个子文件)
collection-master
library-symlinks.sh 1KB
MIT-License.txt 1KB
lib
collection
collection.rb 283B
controls
array.rb 312B
member.rb 216B
controls.rb 73B
set.rb 2KB
collection.rb 72B
Gemfile 39B
collection.gemspec 523B
load_path.rb 581B
init.rb 53B
install-gems.sh 422B
test
test_init.rb 360B
automated
equality
not_equal.rb 1KB
equal.rb 425B
detection
value.rb 612B
predicate.rb 640B
automated_init.rb 32B
add
add.rb 952B
construction
class_indexer_generic
root_namespace.rb 686B
nested_namespace.rb 728B
factory_method.rb 2KB
automated.rb 114B
README.md 1KB
remove-lib-symlinks.sh 63B
symlink-lib.sh 55B
.gitignore 261B
共 28 条
- 1
资源评论
DGGs
- 粉丝: 15
- 资源: 4645
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功