Ruby Pocket Reference, 2nd Edition

51flrmxu 4l. sl200

0 reviews

Written by Michael Fitzgerald

Published by O'Reilly Media

Aug, 2015

224 pages



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


Title: Ruby Pocket Reference, 2nd Edition
Author: Michael Fitzgerald
Language: English
Length: 224
Edition: 2
Publisher: O'Reilly Media
Publication Date: 2015-08-28
ISBN-10: 1491926015
ISBN-13: 9781491926017