Categories: None [Edit]

conditional_sample

https://rubygems.org/gems/conditional_sample
https://github.com/nossidge/conditional_sample
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.

Total

Ranking: 127,904 of 199,228
Downloads: 5,555

Daily

Ranking: 117,677 of 199,184
Downloads: 2

Depended by

RankDownloadsName
63,50017,882poefy

Depends on

RankDownloadsName
14,015,435,206bundler
71,480,270,976rake
291,048,421,257rspec
73,05914,606ruby_rhymes

Owners

#GravatarHandle
1iconnossidge