Read more
Updated for Ruby 2.2, this handy reference offers brief yet clear explanations of Ruby's core elements—from operators to blocks to documentation creation—and highlights the key features you may work with every day. Need to know the correct syntax for a conditional? Forgot the name of that String method? This book is organized to help you find the facts fast.
Ruby Pocket Reference, 2nd Edition is ideal for experienced programmers who are new to Ruby. Whether you've come to Ruby because of Rails, or you want to take advantage of this clean, powerful, and expressive language for other applications, this reference will help you easily pinpoint the information you need.
You'll find detailed reference material for:
- Keywords, operators, comments, numbers, and symbols
- Variables, pre-defined global variables, and regular expressions
- Conditional statements, method use, classes, and exception handling
- Methods for the BasicObject, Object, Kernel, String, Array, and Hash classes
- Time formatting directives
- New syntax since Ruby 1.9
About the author
Michael Fitzgerald is an author, coder, and novelist who has written over 20 books. He is the author of O'Reilly's Learning Ruby, Learning XSLT, and XML Hacks, and co-author on the XML Pocket Reference.
Summary
This handy pocket reference offers brief yet clear explanations of Ruby's core components, from operators to reserved words to data structures to method syntax, highlighting those key features that you'll likely use every day when coding Ruby.