Book description
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. This pocket reference is ideal for experienced programmers who are new to Ruby.
Publisher resources
Table of contents
-
1. Ruby Pocket Reference
- Introduction
- Conventions Used in This Book
- Using Code Examples
- Safari® Books Online
- How to Contact Us
- Acknowledgments
- Running Ruby
- Interactive Ruby (irb)
- Ruby’s Keywords
- Ruby’s Operators
- Comments
- Numbers
- Variables
- Symbols
- Predefined Global Variables
- Keyword Literals
- Global Constants
- Ranges
- Methods
- Conditional Statements
- Classes
- Files
- The IO Class
- Exception Handling
- BasicObject Class
- Object Class
- Kernel Module
- String Class
- Array Class
- Hash Class
- Time Formatting Directives
- Ruby Documentation
- RubyGems
- Rake
- Ruby Resources
- Glossary
- Index
Product information
- Title: Ruby Pocket Reference, 2nd Edition
- Author(s):
- Release date: August 2015
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781491926017
You might also like
book
Ruby Cookbook, 2nd Edition
Why spend time on coding problems that others have already solved when you could be making …
book
The Book of Ruby
Slice your way through the cruft of programming conventions and learn to blaze your own trail …
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” …
book
Comprehensive Ruby Programming
This book will provide you with all of the tools you need to be a professional …