add 'insist' antonym feature #1

Closed
jordansissel opened this Issue Aug 30, 2012 · 1 comment

Comments

Projects
None yet
1 participant
Owner

jordansissel commented Aug 30, 2012

Something like 'not insist' but perhaps a better word.

thesaurus.com offers 'deny' as a possible negation. Not sure yet...

Owner

jordansissel commented Aug 30, 2012

considering 'reject'

insist { foo } == 3
reject { foo } != 3

Intended use case is mainly for predicate functions, such as:

reject { some_list }.include?(value_which_must_not_be_present)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment