A Problem-Solution Approach
Authors: Malay Mandal
Shows how Ruby can be used to do scripting tasks with intermediate complexity
Teaches readers enough features to do day-to-day scripting work
Excellent coverage of Regex
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
Table of contents
Front Matter
Pages i-xxviii
A Taste of Ruby
Pages 1-12
Working with Files and Strings
Pages 13-44
Language Elements
Pages 45-73
Collections
Pages 75-101
Blocks and Iterators
Pages 103-118
Input-Output
Pages 119-149
Regular Expressions
Pages 151-188
Putting It into Action
Pages 189-215
Back Matter
Pages 217-226
原版 PDF + EPUB:
本帖隐藏的内容
原版 PDF:PDF 压缩包:
- Ruby Recipes_A Problem-Solution Approach.pdf
EPUB:
EPUB 压缩包:
- Ruby Recipes_A Problem-Solution Approach.epub
PDF + EPUB 压缩包:
- Ruby Recipes_A Problem-Solution Approach.pdf
- Ruby Recipes_A Problem-Solution Approach.epub