Fix compact_blank style
This commit is contained in:
parent
2f8ad2f5e6
commit
1a40468ce4
@ -26,5 +26,5 @@ end
|
|||||||
|
|
||||||
class Hash
|
class Hash
|
||||||
# Hash#reject has its own definition, so this needs one too.
|
# 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
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user