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.
Use command-line arguments to pass parameters to your Ruby scripts from the command line.
Comments
Use comments to annotate your Ruby code.
Use comments to annotate your Ruby code.
Using Strings
Using and manipulating strings and substrings in Ruby.
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.
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.
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.
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
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.
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.
Learn how to use variables in Ruby, assign them information using the assignment operator and pass to a variable using the "puts" function.
