Apress

Beginning Ruby

From Novice to Professional

By Peter Cooper

Beginning Ruby Cover Image

Beginning Ruby is for every type of reader who wants to learn Ruby, from novice programmers to web developers to Ruby newcomers.

Full Description

  • ISBN13: 978-1-59059-766-8
  • 664 Pages
  • User Level: Beginner to Advanced
  • Publication Date: March 26, 2007
  • Available eBook Formats: PDF
  • Print Book Price: $39.99
  • eBook Price: $27.99
Buy eBook Buy Print Book Add to Wishlist

Related Titles

Full Description

Ruby is perhaps best known as the engine powering the hugely popular Ruby on Rails web framework. However, it is an extremely powerful and versatile programming language in its own right. It focuses on simplicity and offers a fully object-oriented environment.

Beginning Ruby is a thoroughly contemporary guide for every type of reader who wants to learn Ruby, from novice programmers to web developers to Ruby newcomers. It starts by explaining the principles behind object-oriented programming and within a few chapters builds toward creating a genuine Ruby application.

The book then explains key Ruby principles, such as classes and objects, projects, modules, and libraries, and other aspects of Ruby such as database access. In addition, Ruby on Rails is covered in depth, and the books appendixes provide essential reference information as well as a primer for experienced programmers.

What you’ll learn

  • Understand the basics of Ruby and object-oriented building blocks.
  • Work with Ruby libraries, gems, and documentation.
  • Work with files and databases.
  • Write and deploy Ruby applications.
  • Explore Ruby web frameworks and aspects of network programming with Ruby.
  • Develop desktop and GUI applications with Ruby.

Who this book is for

Beginning programmers, programmers new to Ruby, and web developers interested in knowing the foundations of the language.

Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.

Errata

If you think that you've found an error in this book, please let us know about it. You will find any confirmed erratum below, so you can check if your concern has already been addressed.

* Required Fields

On page 154:


Written code: a = Drawing.give_me_a_circle
Correct code: a = Drawing.new.give_me_a_circle

On page 155:

Answer shown at top of page: 31.41592 should be 62.83184