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
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
Ruby Quick Syntax Reference
Ruby Quick Syntax Reference is a condensed code and syntax reference to the Ruby scripting language. …
book
Text Processing with Ruby
Text is everywhere. Web pages, databases, the contents of files--for almost any programming task you perform, …