class String

Public Instance Methods

old_to_i(base = 10)
Alias for: to_i
prepend_at() click to toggle source
# File lib/t/core_ext/string.rb, line 2
def prepend_at
  "@#{self}"
end
strip_ats() click to toggle source
# File lib/t/core_ext/string.rb, line 6
def strip_ats
  tr("@", "")
end
to_i(base = 10) click to toggle source
# File lib/t/core_ext/string.rb, line 12
def to_i(base = 10)
  tr(",", "").old_to_i(base)
end
Also aliased as: old_to_i