RubyGems Navigation menu

chooser 0.0.3

Provides short interface for choosing elements from array of structs. Filtering by equality, matching and inclusion, e.g.: target.choose(:street => "Main", :age => (24..30), :address => /Main/) Filtering by instance evaluated string, e.g.: target.choose("age >= 24 && address =~ /^Main/") Rejecting elements with #choose_not method, e.g.: target.choose_not(:street => "Main")

Gemfile:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 0.0.3 - March 16, 2014 (7.5 KB)
  2. 0.0.2 - March 16, 2014 (7.5 KB)
  3. 0.0.1 - March 16, 2014 (7.5 KB)

Development 依赖 (3):

bundler ~> 1.5
rake >= 0
rspec >= 0

业主:

作者:

  • Alexander Avoyants

SHA 256 校验和:

1d2c17b7c87572ed9f3d6d35f1cd611354f41a9aeed456f7ad860df4373cf6a8

下载总量 9,438

这个版本 3,734

许可:

MIT

需要的 Ruby 版本:

链接: