Skip to main content

Collections

  • Chapter
  • First Online:
Ruby Recipes
  • 1013 Accesses

Abstract

A collection in the context of a computer language, intuitively, has the same meaning as a collection is meant in general. For instance, we may say a collection of books (usually to denote a number of books owned by someone or some organization, and possibly kept in the same bookcase or the same room). So a collection is really a few things of the same type or a similar type of object (numbers, strings, or some other type of objects could also be basic types in some language) taken together. The really important thing to know is why they deserve special mention/special handling in a computer language or computer language learning context.

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

Access this chapter

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

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2016 Malay Mandal

About this chapter

Cite this chapter

Mandal, M. (2016). Collections. In: Ruby Recipes. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-2469-4_4

Download citation

Publish with us

Policies and ethics