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.
Module 1 | Ruby Literals |
Unit 1 | Introduction |
Unit 2 | Formatting big numbers for readability |
Unit 3 | Formatting binary numbers |
Unit 4 | Understanding character literals |
Unit 5 | Representing ranges of values |
Unit 6 | Fancy array literals |
Unit 7 | Quoting multiline strings |
Unit 8 | Indenting multiline strings |
Unit 9 | Advanced symbol literals |
Unit 10 | Fun with backticks |