nil?, empty?, blank? - what's the difference actually?
In nil?, empty?, blank? in Ruby on Rails - what’s the difference actually? we dive into 3 commonly used methods to discover their similarities and differences. Many examples, some digressions and code from Rails included.
Comments
you can think of String as a collection of bytes/characters
. Shouldn’t there be justas String is an array of characters
?Post a comment