Tr method


#1

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


#2

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


#3

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.