>From what I have read, in Ruby a Symbol is prefixed with a colon as
in :my_symbol, yet I can do this...

>> :my_symbol
=> :my_symbol
>> my_variable = :my_symbol
=> :my_symbol
>> :my_symbol.class
=> Symbol
>> :my_symbol.object_id
=> 199218
>> my_variable.class
=> Symbol
>> my_variable.object_id
=> 199218

Comments?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to