Object
A string is blank if it's empty or contains whitespaces only:
''.blank? # => true ' '.blank? # => true ' '.blank? # => true ' something here '.blank? # => false
# File lib/whois/core_ext/object/blank.rb, line 91 def blank? self !~ /[^[:space:]]/ end
[Validate]
Generated with the Darkfish Rdoc Generator 2.