class Strings

Public Class Methods

isNullOrEmpty(str) click to toggle source
# File lib/ipgeolocation_io/Strings.rb, line 8
def self.isNullOrEmpty(str)
  return str == nil || str == ''
end
nullToEmpty(s) click to toggle source
# File lib/ipgeolocation_io/Strings.rb, line 2
def self.nullToEmpty(s)
  if(s == nil)
    s = "";
  end
  return s;
end