Home
Ruby
ActiveRecord
Array
CGI
Class
Collections
Database
Date
Design Patterns
Development
File Directory
GUI
Hash
Language Basics
Method
Network
Number
Rails
Range
Reflection
Statement
String
Threads
Time
Tk
Unit Test
Windows Platform
XML
Push « Array « Ruby
Ruby
Array
Push
1.
Blow Your Stack
2.
You can add things to the end of the array by pushing data into it
3.
With arrays, << is the operator for pushing an item onto the end of an array.
4.
Push integer and string to the same array
5.
Push an array to another array