Skip to main content

Ruby’s Building Blocks: Data, Expressions, and Flow Control

  • Chapter
  • First Online:
Beginning Ruby
  • 2477 Accesses

Abstract

Computer programs spend nearly all their time manipulating data or waiting for data to arrive from elsewhere. We type in words, phrases, and numbers; listen to music; and watch videos, while the computer performs calculations, makes decisions, and relays information to us. To write computer programs, it’s essential to understand the basics of data and its manipulation.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 44.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

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 Peter Cooper

About this chapter

Cite this chapter

Cooper, P. (2016). Ruby’s Building Blocks: Data, Expressions, and Flow Control. In: Beginning Ruby. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-1278-3_3

Download citation

Publish with us

Policies and ethics