From cee2ee808e96b9deca46acae0faa643ba6fe0261 Mon Sep 17 00:00:00 2001 From: Xavier Noria Date: Sat, 26 Sep 2009 13:02:03 +0200 Subject: AS guide: touches an example that confounds the indexer --- railties/guides/source/active_support_overview.textile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties/guides/source') diff --git a/railties/guides/source/active_support_overview.textile b/railties/guides/source/active_support_overview.textile index abb7ca9491..0462b47ec6 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: -hash1.diff(hash2).diff(hash2) == hash1 +hash.diff(hash2).diff(hash2) == hash1 Diffing hashes may be useful for error messages related to expected option hashes for example. -- cgit v1.2.3