Blog

Literals

We migrated this website to a new platform, and are working to correct formatting errors in older blog posts as a result. If you encounter an error, please send an email to scholarslab@virginia.edu. Thanks!

It turns out that Fixnums are special and are represented as “immediate values”, which from what I understand is just Ruby for “literals”. This kind of lets the air out of the whole “everything in Ruby is an Object” when they are really no such thing.

Cite this post: Shane Lin. “Literals”. Published November 30, 2012. https://scholarslab.lib.virginia.edu/blog/literals/. Accessed on .