Ruby Recipes: A Problem-Solution Approach Front Cover

Ruby Recipes: A Problem-Solution Approach

  • Length: 226 pages
  • Edition: 1st ed.
  • Publisher:
  • Publication Date: 2016-12-09
  • ISBN-10: 148422468X
  • ISBN-13: 9781484224687
  • Sales Rank: #5023560 (See Top 100 Books)
Description

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.

Table of Contents

Chapter 1: A Taste of Ruby
Chapter 2: Working with Files and Strings
Chapter 3: Language Elements
Chapter 4: Collections
Chapter 5: Blocks and Iterators
Chapter 6: Input-Output
Chapter 7: Regular Expressions
Chapter 8: Putting It into Action
Appendix A: Solutions to Exercises

To access the link, solve the captcha.