class String

Public Instance Methods

equals?(str) click to toggle source
# File lib/nitro_pay/string.rb, line 14
def equals?(str)
  self == str
end
float?() click to toggle source
# File lib/nitro_pay/string.rb, line 10
def float?
  self.to_f.to_s == self
end
integer?() click to toggle source
# File lib/nitro_pay/string.rb, line 6
def integer?
  self.to_i.to_s == self
end
remove(pattern) click to toggle source
# File lib/nitro_pay/string.rb, line 2
def remove(pattern)
  gsub pattern, ''
end