Class: String

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

Direct Known Subclasses

Riak::Crdt::InnerRegister

Instance Method Summary (collapse)

Instance Method Details

- (Boolean) blank?



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

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