Skip to main content
  • Book
  • © 2016

Beginning Ruby

From Novice to Professional

Apress

Authors:

  • Introduces you to the updated Ruby programming language version 2.2
  • Includes coverage of the new garbage collection support for symbol type objections as well as the new incremental garbage collector
  • Covers what's new in memory management, vfork(2) with system and spawn functions and much more

Buy it now

Buying options

eBook USD 44.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (16 chapters)

  1. Front Matter

    Pages i-xxxiv
  2. Foundations and Scaffolding

    1. Front Matter

      Pages 1-1
    2. Let’s Get It Started: Installing Ruby

      • Peter Cooper
      Pages 3-10
    3. Developing Your First Ruby Application

      • Peter Cooper
      Pages 73-92
    4. The Ruby Ecosystem

      • Peter Cooper
      Pages 93-103
  3. The Core of Ruby

    1. Front Matter

      Pages 105-105
    2. Classes, Objects, and Modules

      • Peter Cooper
      Pages 107-147
    3. Projects and Libraries

      • Peter Cooper
      Pages 149-161
    4. Files and Databases

      • Peter Cooper
      Pages 187-224
    5. Distributing Ruby Code and Libraries

      • Peter Cooper
      Pages 225-242
    6. Advanced Ruby Features

      • Peter Cooper
      Pages 243-267
  4. Ruby Online

    1. Front Matter

      Pages 303-303
    2. Ruby and the Internet

      • Peter Cooper
      Pages 343-362
    3. Networking and Sockets

      • Peter Cooper
      Pages 363-378
    4. Useful Ruby Libraries

      • Peter Cooper
      Pages 379-415

About this book

Learn the principles behind object-oriented programming and within a few chapters create a fully functional Ruby application. You'll also gain a basic understanding of many ancillary technologies such as databases, XML, web frameworks, and networking - some of which are needed as part of a fully functioning Ruby application.

Based on the bestselling first and second editions, Beginning Ruby, Third Edition is a leading guide to learn Ruby from the ground up. The new edition of this book provides the same excellent introduction to Ruby as the previous editions plus updates for the newest version of Ruby 2.3. This book can also be used as a textbook or companion to a textbook on beginning Ruby programming.

The light and agile Ruby programming language remains a very popular open source scripting option for developers building today's web and even some enterprise applications. And, now, Ruby also has applications using the Raspberry Pi, popular among hobbyists and makers. Many former Java developers still use Ruby on Rails today, the most popular framework for building Ruby applications. 

What You'll Learn

  • Discover the fundamentals of Ruby and its object-oriented building blocks
  • Use the Ruby libraries, gems, and documentation
  • Work with files and databases
  • Write and deploy Ruby applications
  • Harness the various Ruby web frameworks and how to use them
  • Do network programming with Ruby 
Who This Book Is For


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

Reviews

“The material is organized well and reads like a novel. Examples are clear, and accompanied by ample explanations. … Readers in any context in which the Ruby programming language is utilized will find this book an approachable, enabling primer. The book also assists readers by making them aware of the more advanced aspects of the language and its facilities. Summing Up: Highly recommended. All readers.” (F. H. Wild III, Choice, Vol. 54 (7), March, 2017)


“The book gives a well-structured introduction to Ruby from the ground up, starting from installation through main building blocks and advanced features, without assuming any prior programming knowledge and skills. … The text provides an excellent introduction to Ruby, and also has value as a reference source for Ruby developers at various levels.” (Alexander Tzanov, Computing Reviews, December, 2016)

Authors and Affiliations

  • Louth, Lincs., United Kingdom

    Peter Cooper

About the author

Peter Cooper is an experienced Ruby developer, trainer, and publisher who runs Ruby Inside, the most popular blog in the Ruby and Rails worlds, with 18,000 subscribers. He also curates RubyFlow, a popular Ruby community link blog. Over the past few years he has developed, launched, and sold two startups (Feed Digest and Code Snippets), both powered by Ruby and Rails.

Bibliographic Information

Buy it now

Buying options

eBook USD 44.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Other ways to access