Skip to main content

Classes, Objects, and Modules

  • Chapter
Beginning Ruby
  • 279 Accesses

Abstract

In Chapter 2 we dived straight into the principles of object orientation, the method of representing concepts in Ruby by using classes and objects. Since then we’ve looked at Ruby’s standard classes, such as String and Array; worked with them; and then branched off to look at Ruby’s logic and other core features.

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

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 49.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

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2009 Peter Cooper

About this chapter

Cite this chapter

Cooper, P. (2009). Classes, Objects, and Modules. In: Beginning Ruby. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-2364-1_6

Download citation

Publish with us

Policies and ethics