3 ms·
I think it might be more idiomatic, and more in the direction of what the author seeks, to check `my_string.present?` which is false for nil and empty string.
by whipoodle 9y ago
I think it might be more idiomatic, and more in the direction of what the author seeks, to check `my_string.present?` which is false for nil and empty string.
- rusk 9y agoThat's what they are. Pick one and invert the logic.