The Ruby Workshop
上QQ阅读APP看书,第一时间看更新

2. Ruby Data Types and Operations

Overview

By the end of this chapter, you will be able to perform operations on arrays and hashes; use Ruby methods on arrays and hashes; create your own Ruby method and write a Ruby program for rolling dice.