aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/core_ext/hash_ext.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-01-11 22:06:05 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-01-11 22:06:05 +0000
commit1497522ab0b84f39a04774b4a6a86dea32aa9a3e (patch)
tree86a8908581bb23153c20f6c3026a0e0ecb95a405 /activesupport/lib/core_ext/hash_ext.rb
parentd44deadd3912ee44d12edfc4579ed58323e4c393 (diff)
downloadrails-1497522ab0b84f39a04774b4a6a86dea32aa9a3e.tar.gz
rails-1497522ab0b84f39a04774b4a6a86dea32aa9a3e.tar.bz2
rails-1497522ab0b84f39a04774b4a6a86dea32aa9a3e.zip
Fixed the half applied 393 changeset
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@395 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/lib/core_ext/hash_ext.rb')
-rw-r--r--activesupport/lib/core_ext/hash_ext.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/activesupport/lib/core_ext/hash_ext.rb b/activesupport/lib/core_ext/hash_ext.rb
deleted file mode 100644
index 90670c42c7..0000000000
--- a/activesupport/lib/core_ext/hash_ext.rb
+++ /dev/null
@@ -1,6 +0,0 @@
-class Hash
- def assert_valid_keys(valid_keys)
- unknown_keys = keys - valid_keys
- raise(ArgumentError, "Unknown key(s): #{unknown_keys.join(", ")}") unless unknown_keys.empty?
- end
-end \ No newline at end of file