68 Topics
Getting started with Ruby Language Introduction Topic
Hashes All Versions
A Hash is a dictionary-like collection of unique keys and their values. Also called associative arrays, they are similar to Arrays, but where an Array uses integers as its index, a Hash allows you to use any object type. You retrieve or create a new entry in a Hash...
Control Flow All Versions
Arrays All Versions
Exceptions All Versions
Strings All Versions
Design Patterns and Idioms in Ruby All Versions
Gem Usage All Versions
Methods All Versions
Functions in Ruby provide organized, reusable code to preform a set of actions. Functions simplify the coding process, prevent redundant logic, and make code easier to follow. This topic describes the declaration and utilization of functions, arguments, parameters,...
Inheritance All Versions
Classes 1.6.8–2.3
Numbers All Versions
Loading Source Files All Versions
Metaprogramming 1.9–2.3
Metaprogramming can be described in two ways: “Computer programs that write or manipulate other programs (or themselves) as their data, or that do part of the work at compile time that would otherwise be done at runtime”. More simply put: Metaprogramming is writing...