RubyGems Navigation menu

conditional_sample 0.1.0

Patch the Array with a couple of nice methods for sampling based on the results of an array of Boolean procs. Array is sampled using the procs as conditions that each specific array index element must conform to.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 1.0.0 - June 30, 2017 (14 KB)
  2. 0.1.0 - June 26, 2017 (13 KB)

Development Dependencies (4):

bundler ~> 1.13
rake ~> 10.0
rspec ~> 3.0
ruby_rhymes ~> 0.1

Owners:

Authors:

  • Paul Thompson

SHA 256 checksum:

9b8461a4accd88db69f12c9bd162dd1875f5b4403ad92025d1379348665c7909

Total downloads 4,315

For this version 1,849

License:

GPL-3.0

Required Ruby Version: >= 0

Links: