ProgrammingRuby1.9&2.0 - (EPUB全文下载)
文件大小:3.83 mb。
文件格式:epub 格式。
书籍内容:
Programming Ruby 1.9 & 2.0
The Pragmatic Programmers’ Guide
by Dave Thomas, with Chad Fowler, Andy Hunt
Version: P1.0 (June, 2013)Copyright © 2013 The Pragmatic Programmers, LLC. This book is licensed to
the individual who purchased it. We don't copy-protect it
because that would limit your ability to use it for your
own purposes. Please don't break this trust—you can use
this across all of your devices but please do not share this copy
with other members of your team, with friends, or via file sharing services. Thanks.
—Dave & Andy.
Many of the designations used by manufacturers and sellers to
distinguish their products are claimed as trademarks. Where those
designations appear in this book, and The Pragmatic Programmers, LLC
was aware of a trademark claim, the designations have been printed in
initial capital letters or in all capitals. The Pragmatic Starter Kit,
The Pragmatic Programmer, Pragmatic Programming, Pragmatic Bookshelf
and the linking
g
device are trademarks of The Pragmatic Programmers,
LLC.
Every precaution was taken in the preparation of this
book. However, the publisher assumes no responsibility for errors or
omissions, or for damages that may result from the use of information
(including program listings) contained herein.
Our Pragmatic courses,
workshops, and other products can help you and your team create better
software and have more fun. For more information, as well as the
latest Pragmatic titles, please visit us at
http://pragprog.com.
Table of ContentsForeword to the Third EditionPreface Why Ruby? Ruby Versions Changes in the Book Resources Acknowledgments Notation ConventionsRoad MapI. Facets of Ruby 1. Getting Started 1.1 The Command Prompt 1.2 Installing Ruby 1.3 Running Ruby 1.4 Ruby Documentation: RDoc and ri 2. Ruby.new 2.1 Ruby Is an Object-Oriented Language 2.2 Some Basic Ruby 2.3 Arrays and Hashes 2.4 Symbols 2.5 Control Structures 2.6 Regular Expressions 2.7 Blocks and Iterators 2.8 Reading and ’Riting 2.9 Command-Line Arguments 2.10 Onward and Upward 3. Classes, Objects, and Variables 3.1 Objects and Attributes 3.2 Classes Working with Other Classes 3.3 Access Control 3.4 Variables 4. Containers, Blocks, and Iterators 4.1 Arrays 4.2 Hashes 4.3 Blocks and Iterators 4.4 Containers Everywhere 5. Sharing Functionality: Inheritance, Modules, and Mixins 5.1 Inheritance and M ............
书籍插图:
以上为书籍内容预览,如需阅读全文内容请下载EPUB源文件,祝您阅读愉快。
书云 Open E-Library » ProgrammingRuby1.9&2.0 - (EPUB全文下载)