Re: [ruby-81] I guess I should have known this

From: Wayne V.
Sent on: Tuesday, November 13, 2007 9:45 PM
On Nov 13,[masked]:07 PM, William Sobel <[address removed]> wrote:
> The only
> immutable objects in Ruby are numbers. You can't change a 1 into a 2
> nor would you want to!

All the immediate values are immutable, so symbols, true, false,
and nil are immutable.

There are also a few other immutable objects, like procs.


Wayne Vucenic
No Bugs Software
Agile Ruby Contract Programming in Silicon Valley since 2001

Our Sponsors

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy