Mega Code Archive

 
Categories / Ruby / String
 

Test a string to see if it is empty with empty

title = String.new # => "" title.empty? # => true