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 Wizardry
Ruby Wizardry is a modern day fairy tale that teaches programming skills kids can use.
book
Ruby Under a Microscope
Ruby Under a Microscope gives developers an inside, hands-on look at Ruby's core, using simple diagrams …
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 Cookbook, 2nd Edition
Why spend time on coding problems that others have already solved when you could be making …