文档介绍:The Ruby Programming Language
Other resources from O’Reilly
Related titles Ruby Cookbook Ruby Pocket Reference
Learning Ruby Ajax on Rails
Advanced Rails Ruby on Rails: Up and
Rails Cookbook Running
is more than plete catalog of O’Reilly books.
You'll also find links to news, events, articles, weblogs, sample
chapters, and code examples.
is the essential portal for developers interested in
open and emerging technologies, including new platforms, pro-
gramming languages, and operating systems.
Conferences O’Reilly & Associates brings diverse innovators together to nur-
ture the ideas that spark revolutionary industries. We specialize
in documenting the latest tools and systems, translating the in-
novator’s knowledge into useful skills for those in the trenches.
Visit conferences. for our ing events.
Safari Bookshelf (safari.) is the premier online refer-
ence library for programmers and IT professionals. Conduct
searches across more than 1,000 books. Subscribers can zero in
on answers to time-critical questions in a matter of seconds.
Read the books on your Bookshelf from cover to cover or sim-
ply flip to the page you need. Try it today for free.
The Ruby Programming Language
David Flanagan and Yukihiro Matsumoto
Beijing • Cambridge • Farnham • Köln • Paris • Sebastopol • Taipei • Tokyo
The Ruby Programming Language
by David Flanagan and Yukihiro Matsumoto
with drawings by why the lucky stiff
Copyright © 2008 David Flanagan and Yukihiro Matsumoto. All rights reserved.
Printed in the United States of America.
Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472
O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions
are also available for most titles (http://safari.). For more information, contact our corporate/
institutional sales department: (800) 998-9938 or ******@.
Editor: Mike Loukides Indexer: Joe Wizda
Production E