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
The Ruby Workshop
Cut through the noise and get real results with a step-by-step approach to learning Ruby programming. …
book
Effective Ruby: 48 Specific Ways to Write Better Ruby
If you’re an experienced Ruby programmer, will help you harness Ruby’s full power to write more …
book
Ruby Pocket Reference
Although Ruby is an easy language to learn, in the heat of action you may find …
book
The Ruby Way: Solutions and Techniques in Ruby Programming, Third Edition
For more than a decade, Ruby developers have turned to The Ruby Way for reliable “how-to” …