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
Debugging
The rules of battle for tracking down -- and eliminating -- hardware and software bugs. When …
book
Object-Oriented Python
Object-Oriented Python (OOP) is a paradigm that combines data and code into cohesive units, allowing you …
book
Dive Into Algorithms
Dive Into Algorithms is a wide-ranging, Pythonic tour of many of the world's most interesting algorithms. …
book
Python Crash Course, 3rd Edition
Python Crash Course is the world's best-selling guide to the Python guide programming language, with over …