Use the truthiness of parent rather than nil?
Use the truthiness of parent rather than nil?

Save a method call by using the truthiness of parent itself rather than
calling Object#nil? on it.

altmetric/aho_corasick_matcher