Class: String

Inherits:
Object show all
Defined in:
lib/riak/core_ext/blank.rb

Instance Method Summary collapse

Instance Method Details

#blank?Boolean

Returns:

  • (Boolean)


33
34
35
# File 'lib/riak/core_ext/blank.rb', line 33

def blank?
  self !~ /[^\s]/
end