Skip to main content
  • Book
  • © 2016

Ruby Recipes

A Problem-Solution Approach

Apress

Authors:

  • 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

  • 8160 Accesses

Buy it now

Buying options

eBook USD 19.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 29.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (8 chapters)

  1. Front Matter

    Pages i-xxviii
  2. A Taste of Ruby

    • Malay Mandal
    Pages 1-12
  3. Working with Files and Strings

    • Malay Mandal
    Pages 13-44
  4. Language Elements

    • Malay Mandal
    Pages 45-73
  5. Collections

    • Malay Mandal
    Pages 75-101
  6. Blocks and Iterators

    • Malay Mandal
    Pages 103-118
  7. Input-Output

    • Malay Mandal
    Pages 119-149
  8. Regular Expressions

    • Malay Mandal
    Pages 151-188
  9. Putting It into Action

    • Malay Mandal
    Pages 189-215
  10. Back Matter

    Pages 217-226

About this book

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.

Authors and Affiliations

  • New South Wales, Australia

    Malay Mandal

About the author

A Master of Engineering (Mechanical Engineering) from IISc, Bangalore ('94), Malay is working in IT for the last 22 or so years. He worked across multiple geographical locations (India, Japan, Singapore, UK ..), across multiple technology stack and for quite a few well known organisations (Telstra, JP Morgan, Citigroup etc.). He quite often actively learns new things, and his creation (other than books) include Apps in Google Play, and some small wooden pieces of furniture at home.

Bibliographic Information

Buy it now

Buying options

eBook USD 19.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 29.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access