Ruby Programming

From Wikibooks, the open-content textbooks collection

(Redirected from Ruby programming language)
Jump to: navigation, search


Ruby was named after the precious gem.
Ruby was named after the precious gem.

Ruby is an interpreted, object-oriented scripting language. Its creator, Yukihiro Matsumoto, a.k.a "Matz" released it to the public in 1995.

The book is currently broken down into several sections, and is intended to be read sequentially. Getting started will show how to install and get started with Ruby in your environment. Basic Ruby demonstrates the main features of the language syntax. The final section, Intermediate Ruby covers a selection of slightly more advanced topics. Each section is designed to be self contained. Finally, the Ruby language section is organized like a reference to the language.


Contents

[edit] Table of Contents

Wikibook Development Stages
Sparse text Image:00%.svg Developing text Image:25%.svg Maturing text Image:50%.svg Developed text Image:75%.svg Comprehensive text: Image:100%.svg


[edit] Getting started

Overview
Installing Ruby
Ruby editors
Notation conventions
Interactive Ruby

[edit] Basic Ruby

Hello world
Strings
Alternate quotes
Here documents
ASCII
Introduction to objects
Ruby basics
Data types -- numbers, strings, hashes and arrays
Classes and objects
Writing methods
Exceptions

[edit] Intermediate Ruby

Unit testing
RubyDoc
RubyGems

[edit] Ruby reference

[edit] Modules

[edit] External links


[edit] Learning Ruby

[edit] Books

[edit] Quick Reference

Personal tools