Everything About ___
Live briefing

Everything about Ruby syntax

Set of rules defining correctly structured programs

The syntax of the Ruby programming language is broadly similar to that of Perl and Python. Class and method definitions are signaled by keywords, whereas code blocks can be defined by either keywords or braces. In contrast to Perl, variables are not obligatorily prefixed with a sigil. When used, the sigil changes the semantics of scope of the variable. For practical purposes there is no distinction between expressions and statements. Line breaks are significant and taken as the end of a statement; a semicolon may be equivalently used. Unlike Python, indentation is not significant. Wikipedia →

🧭 Start here: a 6-step reading path

  1. Read the overview: Ruby syntaxA 5-minute orientation
  2. Pick up a classic book: Regular ExpressionThe most-reprinted book on the subject
  3. Go sideways: GNU SmalltalkA closely related topic
  4. Go sideways: Entry pointA closely related topic

📖 Definitions

No dictionary entry for this exact phrase.

🏆 Landmark papers (most cited)

📚 Books worth reading

Ranked by number of editions on Open Library, a rough measure of how lasting a book is.

🔗 Related topics