# You can also use the push method, which is equivalent. x = [] x << "Word" puts x x.push "Word" puts x