[ LiB ] | ![]() ![]() |
Before moving on to the next chapter, you should have Ruby installed on your computer, and you should feel quite comfortable using Ruby blocks, classes, methods, variables, and common control structures like while and if.
Important points from this chapter:
Any form of data in Ruby is an object.
An object is a container that holds variables and functions that are specific to itself.
Lowercase letters equal local variables, uppercase letters equal a constant, variables that start with $ are global, variables that start with @ are instance variables, and variables that start with @@ are class variables.
End-of-line deliminators are not necessary in Ruby.
[ LiB ] | ![]() ![]() |