1. Home
  2. Computing & Technology
  3. Ruby

Ruby Tutorials

Simple step-by-step guides for learning how to program in Ruby. These tutorials will take you through everything from how to run a Ruby script to creating a "Hello, World" application.
Command-line Arguments
Use command-line arguments to pass parameters to your Ruby scripts from the command line.
Comments
Use comments to annotate your Ruby code.
Using Strings
Using and manipulating strings and substrings in Ruby.
Aliasing
Aliasing is a powerful Ruby feature that allows more than one method to be referred to by multiple names. This can be used to give a programmer more expressive options or to create copies of a method, allowing you to change the behavior of a class.
Using the 'require' Method
The 'require' method is the reusable code mechanism in Ruby. It allows you to import other source files into your programs.
Exceptions
Exceptions are used to handle things the unexpected things that might go wrong with your Ruby code. This article addresses what Exceptions are and how they can be used.
Conditional Statements
How to use conditional statements in Ruby
Using the Command Line
How to use the command line interface on Windows, Linux and OS X to run Ruby scripts and use the interactive Ruby program.
Using Variables in Ruby
Learn how to use variables in Ruby, assign them information using the assignment operator and pass to a variable using the "puts" function.
Explore Ruby
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Ruby
  4. Tutorials

©2009 About.com, a part of The New York Times Company.

All rights reserved.