From: Phlip Date: 2007-08-14T20:44:07+09:00 Subject: Re: Symbols and strings Tim Hunter wrote: > Don't make more out of this than there is. A symbol is a kind of literal > in Ruby. It's the name of a number. You pick the name, Ruby picks the > number. Ruby guarantees that whenever you use the symbol in your program > it will always refer to the same number. :foo.object_id == :foo.object_id So if you add a method to one :foo, can anyone who invokes :foo access the method? -- Phlip http://www.oreilly.com/catalog/9780596510657/ ^ assert_xpath http://tinyurl.com/yrc77g <-- assert_latest Model