文档介绍:MASTERMASTER
RUBYRUBY FROMFROM THETHE Covers Ruby and ™
INSIDEINSIDE OUTOUT THETHE BOOKBOOK OFOF
THE BOOKTHE OF RUBY
THE BOOKTHE OF RUBY
Ruby is famous for being easy to learn, but most users • Catch and recover from execution errors with robust
only scratch the surface of what it can do. While other exception handling
books focus on Ruby’s trendy features, The Book of ™
• Develop powerful web applications with the Ruby on
Ruby reveals the secret inner workings of one of the RUBYRUBY
Rails framework
world’s most popular programming languages, teaching A HANDS-ON GUIDE FOR THE ADVENTUROUS
you to write clear, maintainable code. Each chapter includes a “Digging Deeper” section that
shows you how Ruby works under the hood, so you
You’ll start with the basics—types, data structures, and
won’t be caught off guard by its deceptively simple
control flows—and progress to advanced features like
scoping, multithreading features, or precedence rules.
blocks, mixins, metaclasses, and beyond. Rather than HUW COLLINGBOURNE
bog you down with a lot of theory, The Book of Ruby Whether you’re new to programming or just new to
takes a hands-on approach and focuses on making you Ruby, The Book of Ruby is your guide to mastering rapid,
productive from day one. As you follow along, you’ll real-world software development with this unique and
learn to: elegant language.
• Leverage Ruby’s inct and flexible syntax to ABOUT THE AUTHOR
maximize your productivity
Huw Collingbourne is the Director of Technology for ™
• Balance Ruby’s functional, imperative, and object- SapphireSteel Software, developer of the Ruby In Steel
oriented features IDE. With 30 years of programming experience, he has
written programming columns for numerous magazines,
• Write self-modifying programs using dynamic
presented features puting for BBC Television,
programming techniques
and currently edits the online technical journal Bitwise