Ternary reads a bit better.

f ? puts f : @logger.debug "Heirloom #{@opts[:name]} not found in catalog for #{region}."
f