themactep.com

A home of miscellaneous projects by Paul Philippov.

Notes

How to check if at least one object in array has a true boolean property on Ruby

@facts.map(&:is_proven?).include?(true)