Ruby Recipes: A Problem-Solution Approach

Malay Mandal

  • 出版商: Apress
  • 出版日期: 2016-12-09
  • 售價: $1,450
  • 貴賓價: 9.5$1,378
  • 語言: 英文
  • 頁數: 256
  • 裝訂: Paperback
  • ISBN: 148422468X
  • ISBN-13: 9781484224687
  • 相關分類: Ruby
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

相關主題

商品描述

Solve your Ruby programming problems that occur during your day-to-day scripting work. This book contains a varied selection of practical and interesting code recipes designed to make your coding life easier. Ruby Recipes includes solutions to problems in working with data, handling exceptions, writing blocks, and using regular expressions.

This book provides ready scripts for both simple complex scripting tasks, which you can use readily or with only minor modifications. These scripts cover areas such as collections, classes and structures, functional programming, and log handling. With these handy recipes at your fingertips, you will be able to solve those niggling problems and become even more efficient.

 

 
 
What You Will Learn 
  • Install and run Ruby
  • Read and write data
  • Write functions
  • Work with arrays, ranges, hashes, and iterators
  • Handle dates and time
  • Process XML as text
  • Master OOP concepts such as classes, objects, subclassing, and inheritance
  • Connect to databases

     

Who This Book Is For
 
Programmers new to Ruby, and web developers interested in knowing the foundations of the language.

商品描述(中文翻譯)

解決你在日常腳本工作中遇到的Ruby編程問題。這本書包含了各種實用且有趣的代碼示例,旨在讓你的編碼生活更輕鬆。《Ruby Recipes》提供了處理數據、處理異常、編寫塊以及使用正則表達式等問題的解決方案。

這本書為簡單和複雜的腳本任務提供了現成的腳本,你可以直接使用或僅需進行輕微修改。這些腳本涵蓋了集合、類和結構、函數式編程以及日誌處理等領域。有了這些方便的示例,你將能夠解決那些煩人的問題,並變得更加高效。

你將學到什麼:

- 安裝和運行Ruby
- 讀取和寫入數據
- 編寫函數
- 使用數組、範圍、哈希和迭代器
- 處理日期和時間
- 將XML處理為文本
- 掌握面向對象編程的概念,如類、對象、子類和繼承
- 連接到數據庫

這本書適合新手Ruby程序員和對了解該語言基礎感興趣的網絡開發人員。