addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscontroller-playcrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupshelp-with-circleimageimagesinstagramFill 1light-bulblinklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonprintShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

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