O'Reilly logo

Beginning Ruby: From Novice to Professional by Peter Cooper

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 7. Projects and Libraries

In previous chapters we've looked at and worked with Ruby from a low-level perspective by working directly with classes, objects, and functions. Each line of code we've used in the small projects so far has been written specifically for that project from scratch. In this chapter, we'll look at how to build larger projects with Ruby, and how to reuse code written previously. Finally, we'll look at how to use code already written and prepared by other developers within your own applications so that you don't need to reinvent the wheel every time you create a new program.

This chapter is about the bigger picture: dealing with projects and libraries.

Projects and Using Code from Other Files

As you become more familiar ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required