make arrayin ruby code example Example 1: ruby create array array = Array.new Example 2: array ruby creating ruby array