Advertisement

Ruby Recipes

A Problem-Solution Approach

  • Malay┬áMandal

Table of contents

  1. Front Matter
    Pages i-xxviii
  2. Malay Mandal
    Pages 1-12
  3. Malay Mandal
    Pages 13-44
  4. Malay Mandal
    Pages 45-73
  5. Malay Mandal
    Pages 75-101
  6. Malay Mandal
    Pages 103-118
  7. Malay Mandal
    Pages 119-149
  8. Malay Mandal
    Pages 151-188
  9. Malay Mandal
    Pages 189-215
  10. Back Matter
    Pages 217-226

About this book

Introduction

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.

You will:

  • 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

Keywords

Ruby Ruby Scripting Strings Arrays Hashes Parsing SQL

Authors and affiliations

  • Malay┬áMandal
    • 1
  1. 1.New South WalesAustralia

Bibliographic information