RubyGems Navigation menu

conditional_sample 1.0.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:

ac24f449e36df806ea56db50676aefa1eb84a3186d0cc65f8e67b571e66cbcfd

Total downloads 4,293

For this version 2,452

License:

GPL-3.0

Required Ruby Version: >= 0

Links: