Is there a better way than the following to check to see if a string is nil OR has a length of 0 in Ruby?
if my_string || my_string.length == 0
return true
else
return false
In C# there's the handy
string.IsNullOrEmpty(myString)
Anything similar to that in Ruby?