Class: String

Inherits:
Object show all
Defined in:
lib/hbase.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#blank?Boolean

Returns:

  • (Boolean)


37
38
39
# File 'lib/hbase.rb', line 37

def blank?
  self !~ /\S/
end

#to_bObject



41
42
43
# File 'lib/hbase.rb', line 41

def to_b
  self == "true" ? true : false
end