Skip to content

Conversation

@ydakuka
Copy link
Contributor

@ydakuka ydakuka commented Dec 3, 2025

It returns nil sometimes, so it should be fixed.

irb(main):001> { "qwe": 1, 'asd': 2 }.compact!
=> nil
irb(main):002> { "qwe": 1, 'asd': nil }.compact!
=> {:qwe=>1}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant