Sha256: 3fecb9d1bbb4830a32ba5543fd23ed1b5fe4fba923f28dd633322cabf04e62b2

Contents?: true

Size: 155 Bytes

Versions: 5

Compression:

Stored size: 155 Bytes

Contents

class String
  def remove(pattern)
    gsub pattern, ''
  end

  def integer?
    self.to_i.to_s == self
  end

  def equals? str
    self == str
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rents-1.0.1 lib/rents/string.rb
rents-1.0.0 lib/rents/string.rb
rents-0.1.11 lib/rents/string.rb
rents-0.1.10 lib/rents/string.rb
rents-0.1.9 lib/rents/string.rb