Ruby Pocket Reference, 2/e (Paperback)
內容描述
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 symbolsVariables, pre-defined global variables, and regular expressionsConditional statements, method use, classes, and exception handlingMethods for the BasicObject, Object, Kernel, String, Array, and Hash classesTime formatting directivesNew syntax since Ruby 1.9