Skip to content
instance method

Prism::Pattern#combine_and

combine_and(left, right)

Shortcut for combining two procs into one that returns true if both return true.

See also .new #combine_or #compile also in 3.4 · 3.3