作者:David A. Black
出版日期:May 28, 2009
出版社:Manning Publications
页数:520
ISBN:ISBN-10: 1933988657 ISBN-13: 978-1933988658
文件格式:PDF
Product Description
The Well-Grounded Rubyist takes you from interested novice toproficient practitioner. It’s a beautifully written tutorial thatbegins with the basic steps to get your first Ruby program up andrunning and goes on to explore sophisticated topics like callableobjects, reflection, and threading. Whether the topic is simple ortough, the book’s easy-to-follow examples and explanations will giveyou immediate confidence as you build your Ruby programming skills.The Well-Grounded Rubyistis a thoroughly revised and updated edition of the best-selling Rubyfor Rails. In this new book, expert author David A. Black moves beyondRails and presents a broader view of Ruby. It covers Ruby 1.9, andkeeps the same sharp focus and clear writing that made Ruby for Railsstand out.Starting with the basics, The Well-Grounded Rubyistexplains Ruby objects and their interactions from the ground up. In themiddle chapters, the book turns to an examination of Ruby’s built-in,core classes, showing the reader how to manipulate strings, numbers,arrays, ranges, hashes, sets, and more. Regular expressions getattention, as do file and other I/O operations.
Along the way, the reader is introduced to numerous tools includedin the standard Ruby distribution–tools like the task manager Rake andthe interactive Ruby console-based interpreter Irb–that facilitate Rubydevelopment and make it an integrated and pleasant experience.
The book encompasses advanced topics, like the design of Ruby’sclass and module system, and the use of Ruby threads, taking even thenew Rubyist deep into the language and giving every reader thefoundations necessary to use, explore, and enjoy this unusually popularand versatile language.
It’s no wonder one reader commented: “The technical depth is justright to not distract beginners, yet detailed enough for more advancedreaders.”
About the Author
David A. Black is a well-known Ruby programmer, trainer, consultant,event organizer, and author. David has been programming in Ruby since2000, and is currently the director of the Ruby/Rails consultancy RubyPower and Light, LLC. A founding director of Ruby Central, Inc. and aRuby standard library contributor, David has written or contributed toa number of popular books about Ruby and Ruby on Rails, including “Rubyfor Rails”, “The Rails Way”, and “Ruby in Practice”.