# frozen_string_literal: true Hash.class_eval do unless method_defined?(:no_values?) # @see Enumerable#none? def no_values?(...) values.none?(...) end end end