6.170 Tutorial 3 Ruby Basics - MIT OpenCourseWare

2. Adding elements to a Ruby array will cause it to automatically increase in size 3. A Ruby array can hold objects of all different types, not just one type 4. Basic Array Functions a. months = Array.new // Creates a new array [ ] ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download