Ruby Programming

Author Wikibooks
Format online HTML, PDF
Price free

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 Ruby language section is organized like a reference to the language. Available modules covers some of the standard library. Intermediate Ruby covers a selection of slightly more advanced topics. Each section is designed to be self contained. The book is a work in progress and is subject to change.

Chapters include:

  • Overview
  • Installing Ruby
  • Ruby editors
  • Notation conventions
  • Interactive Ruby
  • Mailing List FAQ
  • Hello world
  • Strings
  • Alternate quotes
  • Here documents
  • Encoding
  • Introduction to objects
  • Ruby basics
  • Data types — numbers, strings, hashes and arrays
  • Writing methods
  • Classes and objects
  • Exceptions
  • Lexicology
  • Variables and Constants
  • Literals
  • Operators
  • Control Structures
  • Methods
  • Classes
  • Built-in Functions
  • Predefined Variables (globals)
  • Predefined Classes
  • Available Standard Library Modules
  • Database Interface Modules
  • GUI Toolkit Modules
  • Tk
  • GTK2 Notes on the GTK/Gnome bindings.
  • Qt4
  • Unit testing
  • RubyDoc
  • Rake
  • RubyGems
  • Running Multiple Processes
  • Using Network Sockets
  • Building C Extensions
  • Rails
  • Embedding Ruby within a separate C program

Read Mirror

Leave a Reply

Your email address will not be published. Required fields are marked *