Project
chooser
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")
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
Development
Licenses
MIT