Book description
Slice your way through the cruft of programming conventions and learn to blaze your own trail with The Book of Ruby. From methods to metaprogramming, you'll gain the skills you need to master the world's most fun programming language with this example-based, hands-on introduction.
Table of contents
-
The Book of Ruby
- Acknowledgments
- Introduction
- 1. Strings, Numbers, Classes, and Objects
- 2. Class Hierarchies, Attributes, and Class Variables
- 3. Strings and Ranges
- 4. Arrays and Hashes
- 5. Loops and Iterators
- 6. Conditional Statements
- 7. Methods
-
8. Passing Arguments and Returning Values
- Summarizing Instance, Class, and Singleton Methods
- Returning Values
- Returning Multiple Values
- Default and Multiple Arguments
- Assignment and Parameter Passing
- Integers Are Special
- The One-Way-In, One-Way-Out Principle
- Modifying Receivers and Yielding New Objects
- Potential Side Effects of Reliance on Argument Values
- Parallel Assignment
- 9. Exception Handling
- 10. Blocks, Procs, and Lambdas
- 11. Symbols
- 12. Modules and Mixins
- 13. Files and IO
- 14. YAML
- 15. Marshal
- 16. Regular Expressions
- 17. Threads
- 18. Debugging and Testing
- 19. Ruby on Rails
- 20. Dynamic Programming
- A. Documenting Ruby with RDoc
- B. Installing MySQL for Ruby on Rails
- C. Further Reading
- D. Ruby and Rails Development Software
- Index
- About the Author
- Colophon
- E. Updates
Product information
- Title: The Book of Ruby
- Author(s):
- Release date: July 2011
- Publisher(s): No Starch Press
- ISBN: 9781593272944
You might also like
book
Ruby Wizardry
Ruby Wizardry is a modern day fairy tale that teaches programming skills kids can use.
book
Ruby Pocket Reference
Although Ruby is an easy language to learn, in the heat of action you may find …
book
The Ruby Workshop
Cut through the noise and get real results with a step-by-step approach to learning Ruby programming. …
book
Ruby by Example
There may be no better way to learn how to program than by dissecting real, representative …