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
clear « Hash « Ruby
Ruby
Hash
clear
1.
clear method removes all the key-value pairs from a hash, leaving it empty
2.
clear a hash