Summary

[ LiB ]

Summary

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 ]


Game Programming with Pyton, Lua and Ruby
Game Programming with Pyton, Lua and Ruby
ISBN: N/A
EAN: N/A
Year: 2005
Pages: 133

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net