The Ruby Programming Language - 1 The Ruby Programming Language by David Flanagan Yukihiro Matsumoto Publisher O'Reilly Pub Date Print ISBN-10

The Ruby Programming Language - 1 The Ruby Programming...

This preview shows page 1 - 4 out of 594 pages.

The Ruby Programming Language by David Flanagan; Yukihiro Matsumoto Publisher: O'Reilly Pub Date: January 15, 2008 Print ISBN-10: 0-596-51617-7 Print ISBN-13: 978-0-59-651617-8 Pages: 444 Table of Contents | Index Overview The Ruby Programming Language is the authoritative guide to Ruby and provides comprehensive coverage of versions 1.8 and 1.9 of the language. It was written (and illustrated!) by an all-star team: David Flanagan, bestselling author of programming language "bibles" (including JavaScript: The Definitive Guide and Java in a Nutshell) and committer to the Ruby Subversion repository. Yukihiro "Matz" Matsumoto, creator, designer and lead developer of Ruby and author of Ruby in a Nutshell, which has been expanded and revised to become this book. why the lucky stiff, artist and Ruby programmer extraordinaire. This book begins with a quick-start tutorial to the language, and then explains the language in detail from the bottom up: from lexical and syntactic structure to datatypes to expressions and statements and on through methods, blocks, lambdas, closures, classes and modules. The book also includes a long and thorough introduction to the rich API of the Ruby platform, demonstrating -- with heavily-commented example code -- Ruby's facilities for text processing, numeric manipulation, collections, input/output, networking, and concurrency. An entire chapter is devoted to Ruby's metaprogramming capabilities. The Ruby Programming Language documents the Ruby language definitively but without the formality of a language specification. It is written for experienced programmers who are new to Ruby, and for current Ruby programmers who want to challenge their understanding and increase their mastery of the language. 1 1
2 2
The Ruby Programming Language by David Flanagan; Yukihiro Matsumoto Publisher: O'Reilly Pub Date: January 15, 2008 Print ISBN-10: 0-596-51617-7 Print ISBN-13: 978-0-59-651617-8 Pages: 444 Table of Contents | Index Copyright Preface Chapter 1. Introduction Section 1.1. A Tour of Ruby Section 1.2. Try Ruby Section 1.3. About This Book Section 1.4. A Sudoku Solver in Ruby Chapter 2. The Structure and Execution of Ruby Programs Section 2.1. Lexical Structure Section 2.2. Syntactic Structure Section 2.3. File Structure Section 2.4. Program Encoding Section 2.5. Program Execution Chapter 3. Datatypes and Objects Section 3.1. Numbers Section 3.2. Text Section 3.3. Arrays Section 3.4. Hashes Section 3.5. Ranges Section 3.6. Symbols Section 3.7. True, False, and Nil Section 3.8. Objects Chapter 4. Expressions and Operators Section 4.1. Literals and Keyword Literals Section 4.2. Variable References Section 4.3. Constant References Section 4.4. Method Invocations Section 4.5. Assignments Section 4.6. Operators Chapter 5. Statements and Control Structures Section 5.1. Conditionals Section 5.2. Loops Section 5.3. Iterators and Enumerable Objects Section 5.4. Blocks Section 5.5. Altering Control Flow Section 5.6. Exceptions and Exception Handling Section 5.7. BEGIN and END Section 5.8. Threads, Fibers, and Continuations Chapter 6. Methods, Procs, Lambdas, and Closures Section 6.1. Defining Simple Methods Section 6.2. Method Names Section 6.3. Methods and Parentheses

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture