# Tr method

**URL:** <https://www.ruby-forum.com/t/tr-method/94652>\
**Category:** Ruby\
**Created:** [May 10, 2006, 4:29am UTC](https://www.ruby-forum.com/t/tr-method/94652 "2006-05-10T04:29:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![corey](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/838e76/32.png) [@corey](https://www.ruby-forum.com/u/corey)\
**Post date:** [May 10, 2006, 4:29am UTC](https://www.ruby-forum.com/t/tr-method/94652/1 "2006-05-10T04:29:08Z")

</div>

was the translate method deprecated, the book that i have used it as an  
example but the book is 2002, i am new to p rogramming and ruby so i was  
just curious.

Thanks

---

<div class="post-metadata">

**Author:** ![corey](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/838e76/32.png) [@corey](https://www.ruby-forum.com/u/corey)\
**Post date:** [May 10, 2006, 4:37am UTC](https://www.ruby-forum.com/t/tr-method/94652/2 "2006-05-10T04:37:13Z")

</div>

Corey wrote:

> was the translate method deprecated, the book that i have used it as an  
> example but the book is 2002, i am new to p rogramming and ruby so i was  
> just curious.
> 
> Thanks

Nope, it’s not deprecated. What would make you think so?

Dan

---

<div class="post-metadata">

**Author:** ![corey](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/838e76/32.png) [@corey](https://www.ruby-forum.com/u/corey)\
**Post date:** [May 10, 2006, 4:48am UTC](https://www.ruby-forum.com/t/tr-method/94652/3 "2006-05-10T04:48:28Z")

</div>

Daniel B. wrote:

> Corey wrote:
> 
> > was the translate method deprecated, the book that i have used it as an  
> > example but the book is 2002, i am new to p rogramming and ruby so i was  
> > just curious.
> > 
> > Thanks
> 
> Nope, it’s not deprecated. What would make you think so?
> 
> Dan

oh never mind i was using wrong i was just using it like tr(arg,arg) its  
a method so i have to communicate with an object with it otherwise it  
doesnt make any sense.
