Ruby Quick Syntax Reference

Matt Clements

  • 出版商: Apress
  • 出版日期: 2014-11-24
  • 售價: $1,000
  • 貴賓價: 9.5$950
  • 語言: 英文
  • 頁數: 164
  • 裝訂: Paperback
  • ISBN: 143026568X
  • ISBN-13: 9781430265689
  • 相關分類: Ruby
  • 海外代購書籍(需單獨結帳)

商品描述

Ruby Quick Syntax Reference is a condensed code and syntax reference to the Ruby scripting language. It presents the essential Ruby syntax in a well-organized format that can be used as a handy reference.

You won't find any technical jargon, bloated samples, drawn out history lessons, or witty stories in this book. What you will find is a language reference that is concise, to the point and highly accessible.  The book is packed with useful information and is a must-have for any Ruby programmer.

In Ruby Quick Syntax Reference, you will find:

  • A concise reference to the Ruby language syntax.
  • Short, simple, and focused code examples.
  • A well laid out table of contents and a comprehensive index, allowing easy review.

What you’ll learn

  • What variables, operators, strings, arrays, blocks, and procs are
  • How to manage statements and control structures
  • How to create Ruby classes and modules
  • How to use metaprogramming and change classes
  • How to use loops and iteration
  • How to manage errors and exceptions

Who this book is for

This book is a quick, handy pocket syntax reference for experienced Ruby programmers, and a concise, easily-digested introduction for other programmers new to Ruby.

Table of Contents

  1. Chapter One: Introducing Ruby
  2. Chapter Two: Operators
  3. Chapter Three: Strings
  4. Chapter Four: Arrays
  5. Chapter Five: Hashes
  6. Chapter Six: Numbers
  7. Chapter Seven: Booleans
  8. Chapter Eight: Objects
  9. Chapter Nine: Loops and Iterators
  10. Chapter Ten: Functions and Methods
  11. Chapter Eleven: Classes and Modules
  12. Chapter Twelve: Blocks, Procs, and Lambdas
  13. Chapter Thirteen: Errors and Exceptions
  14. Chapter Fourteen: Input/Output
  15. Chapter Fifteen: Files and Directories
  16. Chapter Sixteen: Metaprogramming

商品描述(中文翻譯)

《Ruby快速語法參考》是一本簡明的Ruby腳本語言代碼和語法參考書籍。它以井然有序的格式呈現了Ruby的基本語法,可作為方便的參考工具使用。

這本書中不會出現任何技術術語、冗長的示例、冗長的歷史課程或風趣的故事。你會發現這是一本簡潔、直接且易於理解的語言參考。該書充滿了有用的信息,是任何Ruby程序員必備的工具。

在《Ruby快速語法參考》中,你將找到:

- Ruby語言語法的簡潔參考。
- 簡短、簡單且重點突出的代碼示例。
- 井然有序的目錄和全面的索引,便於查閱。

你將學到什麼:

- 變量、運算符、字符串、數組、塊和procs是什麼。
- 如何管理語句和控制結構。
- 如何創建Ruby類和模塊。
- 如何使用元編程和更改類。
- 如何使用循環和迭代。
- 如何處理錯誤和異常。

這本書適合對Ruby有經驗的程序員作為快速方便的口袋語法參考,也適合對Ruby新手作為簡潔易懂的入門指南。

目錄:

1. 第一章:介紹Ruby
2. 第二章:運算符
3. 第三章:字符串
4. 第四章:數組
5. 第五章:哈希
6. 第六章:數字
7. 第七章:布爾值
8. 第八章:對象
9. 第九章:循環和迭代器
10. 第十章:函數和方法
11. 第十一章:類和模塊
12. 第十二章:塊、procs和lambdas
13. 第十三章:錯誤和異常
14. 第十四章:輸入/輸出
15. 第十五章:文件和目錄
16. 第十六章:元編程