method
tr
tr(from, to)
public
Hide source
# File lib/jcode.rb, line 147 def tr(from, to) (str = self.dup).tr!(from, to) or str end