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
40 Algorithms Every Programmer Should Know
Learn algorithms for solving classic computer science problems with this concise guide covering everything from fundamental …
book
Head First Design Patterns, 2nd Edition
You know you don’t want to reinvent the wheel, so you look to design patterns—the lessons …
book
Software Engineering at Google
Today, software engineers need to know not only how to program effectively but also how to …
book
Fluent Python, 2nd Edition
Python’s simplicity lets you become productive quickly, but often this means you aren’t using everything it …