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

Introduction

In the previous chapter, we studied variables, constants, strings, and various data types. We performed various operations on strings and numbers. We were also introduced to the Interactive Ruby Shell (IRB), which makes coding in Ruby easier.

This chapter is dedicated to bringing you up to speed with arrays, hashes, and methods in Ruby. You could say that these are among the most fundamental topics. We will take a closer look at the different ways of creating arrays and hashes, as there are a wide variety of options. We'll also look at methods, which is another essential concept in Ruby and study certain rules about arguments that you should be aware of while creating methods. After that, you have the fundamentals to become a fine Ruby developer.