diff options
author | Xavier Noria <fxn@hashref.com> | 2009-09-26 13:19:52 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2009-09-26 13:19:52 +0200 |
commit | a14a8a6e54803856f298434c2902f5f19005bf52 (patch) | |
tree | 7843a0d4c3e46f449b17bbd237a44c6d38a943e9 /railties/guides | |
parent | cee2ee808e96b9deca46acae0faa643ba6fe0261 (diff) | |
download | rails-a14a8a6e54803856f298434c2902f5f19005bf52.tar.gz rails-a14a8a6e54803856f298434c2902f5f19005bf52.tar.bz2 rails-a14a8a6e54803856f298434c2902f5f19005bf52.zip |
typo
Diffstat (limited to 'railties/guides')
-rw-r--r-- | railties/guides/source/active_support_overview.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/active_support_overview.textile b/railties/guides/source/active_support_overview.textile index 0462b47ec6..460778deb1 100644 --- a/railties/guides/source/active_support_overview.textile +++ b/railties/guides/source/active_support_overview.textile @@ -1382,7 +1382,7 @@ The method +diff+ returns a hash that represents a diff of the receiver and the An important property of this diff hash is that you can retrieve the original hash by applying +diff+ twice: <ruby> -hash.diff(hash2).diff(hash2) == hash1 +hash.diff(hash2).diff(hash2) == hash </ruby> Diffing hashes may be useful for error messages related to expected option hashes for example. |