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:
= Copy to clipboard Copied!

install:
=

Versions:

  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 Dependencies (3):

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

Owners:

Authors:

  • Alexander Avoyants

SHA 256 checksum:

1d2c17b7c87572ed9f3d6d35f1cd611354f41a9aeed456f7ad860df4373cf6a8

Total downloads 9,419

For this version 3,725

License:

MIT

Required Ruby Version: None

Links: