Ruby Literals Tasting Menu

Ruby has an extraordinarily rich syntax for literal values such as numbers and strings. This short course will take you beyond the basics, and fill in the gaps in your knowledge of Ruby's literal syntaxes. You'll learn to write more expressive code, and you'll better understand code that others have written taking advantage of Ruby's more advanced quoting constructs.

Upgrade to a Ravenous membership to get access to this course!
Module 1Ruby Literals
Unit 1Introduction
Unit 2Formatting big numbers for readability
Unit 3Formatting binary numbers
Unit 4Understanding character literals
Unit 5Representing ranges of values
Unit 6Fancy array literals
Unit 7Quoting multiline strings
Unit 8Indenting multiline strings
Unit 9Advanced symbol literals
Unit 10Fun with backticks