Fix compact_blank style

This commit is contained in:
Douglas Eichelberger 2024-01-22 10:12:22 -08:00
parent 2f8ad2f5e6
commit 1a40468ce4

View File

@ -26,5 +26,5 @@ end
class Hash
# Hash#reject has its own definition, so this needs one too.
def compact_blank = reject { T.unsafe(_2).blank? }
def compact_blank = reject { |_k, v| T.unsafe(v).blank? }
end