Ruby Pocket Reference, 2nd Edition
- Length: 224 pages
- Edition: 2
- Language: English
- Publisher: O'Reilly Media
- Publication Date: 2015-08-28
- ISBN-10: 1491926015
- ISBN-13: 9781491926017
- Sales Rank: #404379 (See Top 100 Books)
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
Table of Contents
- 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
Donate to keep this site alive
How to download source code?
1. Go to: https://www.oreilly.com/
2. Search the book title: Ruby Pocket Reference, 2nd Edition
, sometime you may not get the results, please search the main title
3. Click the book title in the search results
3. Publisher resources
section, click Download Example Code
.
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.