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
replace « Hash « Ruby
Ruby
Hash
replace
1.
Replace a hash with another key-value pair
2.
Replace hash with a constant
3.
Replace all of the pairs in h with those from another hash