7. Introduction to Ruby Gems

Overview

By the end of this chapter, you will be able to import external data and code to improve the functionality of an application; use Ruby gems in programs; interact with file systems and file modes in Ruby; read and write files to and from disk using Ruby; import and export external CSV data into Ruby applications and use service objects to package code for reuse within applications.

Introduction

In the previous chapter, we learned about code reusability and how to clean up our code base by extracting common functionality and logic from modules that can be included as needed throughout our project, preventing unnecessary code duplication.

This is an important concept to grasp as it forms the base for ...

Get The Ruby Workshop now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.