Sha256: 0e85feb8329c5f7185381e5e4ef2271a65b4a92cf3ab525104fbaa3356046c18

Contents?: true

Size: 148 Bytes

Versions: 12

Compression:

Stored size: 148 Bytes

Contents

class String

  def prepend_at
    "@#{self}"
  end

  def strip_ats
    self.tr('@', '')
  end

  def strip_commas
    self.tr(',', '')
  end

end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
t-0.9.6 lib/t/core_ext/string.rb
t-0.9.5 lib/t/core_ext/string.rb
t-0.9.4 lib/t/core_ext/string.rb
t-0.9.3 lib/t/core_ext/string.rb
t-0.9.2 lib/t/core_ext/string.rb
t-0.9.1 lib/t/core_ext/string.rb
t-0.9.0 lib/t/core_ext/string.rb
t-0.8.3 lib/t/core_ext/string.rb
t-0.8.2 lib/t/core_ext/string.rb
t-0.8.1 lib/t/core_ext/string.rb
t-0.8.0 lib/t/core_ext/string.rb
t-0.7.0 lib/t/core_ext/string.rb