Before we delve into the programming part, we first need to learn some important words in Ruby. These words will be mentioned a lot in the upcoming lessons so you will need to memorize them.
Method: Think of this as an agreed contract between you and Ruby- For example, if you use the print method you can display text onto the screen.
Variable: Think of this as a box which you store data- numbers, text and such. You can always change a variable into another one. ex) If you type a = 1 and then type again a = 2 the variable a changes into a 2.
Array: Think of this as a collection of variables. An subscripted variable is a symbolic name for an array's element.
These are the basic terms you need to know to program. If you know any more, please comment!
Sincerely yours,
Admin
July 20, 2011
Subscribe to:
Post Comments (Atom)
Copyright © Learn Ruby! Step by Step Guides [EasyRuby]. All rights reserved.
Blogger template created by Templates Block in collaboration with Music Videos
Provided By Free Website Templates | Freethemes4all.com | Free Blogger Templates



No comments:
Post a Comment