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
Menu
To inspect the array : inspect « Array « Ruby
Ruby
Array
inspect
To inspect the array
months = Array.new(12) puts months.inspect # or: p months
Related examples in the same category
1.
Reverse the Order of the Array's Elements