作者:David Flanagan, Yukihiro Matsumoto, Flanagan David, Matsumoto Yukihiro
出版日期:January 25, 2008
出版社:O'Reilly
页数:446
ISBN:0596516177
文件格式:PDF
The Ruby Programming Language is the authoritativeguide to Ruby and provides comprehensive coverage of versions 1.8 and1.9 of the language. It was written (and illustrated!) by an all-starteam:
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, andthen explains the language in detail from the bottom up: from lexicaland syntactic structure to datatypes to expressions and statements andon through methods, blocks, lambdas, closures, classes and modules.
The book also includes a long and thorough introduction to the richAPI of the Ruby platform, demonstrating — with heavily-commentedexample code — Ruby’s facilities for text processing, numericmanipulation, collections, input/output, networking, and concurrency.An entire chapter is devoted to Ruby’s metaprogramming capabilities.
The Ruby Programming Language documents the Ruby languagedefinitively but without the formality of a language specification. Itis written for experienced programmers who are new to Ruby, and forcurrent Ruby programmers who want to challenge their understanding andincrease their mastery of the language.