Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 1.42 KB

language.md

File metadata and controls

17 lines (13 loc) · 1.42 KB

Ruby Language Structure

This chapter describes the syntax constructs and general structure of Ruby programs.

As a brief overview, it can be said that:

Note that many of the language constructs you will see in a typical Ruby program, are in fact, just methods. For example Kernel#raise is used to raise an exception, and Module#private is used to change a method's visibility. As a result, the language core described in this chapter is pretty small, and everything else just follows usual rules for modules, methods and expressions.

close