diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-01-17 01:29:45 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-01-17 01:29:45 +0000 |
commit | 1dbb4adec1c76f4aa324c7232dd5cafe61b3e062 (patch) | |
tree | 597f674bf61612e48e797035127108cb2946b5f1 /activesupport/lib/core_ext/hash/keys.rb | |
parent | e1374f7b17e0e9087a974f5109500da3c97bf882 (diff) | |
download | rails-1dbb4adec1c76f4aa324c7232dd5cafe61b3e062.tar.gz rails-1dbb4adec1c76f4aa324c7232dd5cafe61b3e062.tar.bz2 rails-1dbb4adec1c76f4aa324c7232dd5cafe61b3e062.zip |
Made a bunch of stuff quiet in the docs
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@441 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/lib/core_ext/hash/keys.rb')
-rw-r--r-- | activesupport/lib/core_ext/hash/keys.rb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/activesupport/lib/core_ext/hash/keys.rb b/activesupport/lib/core_ext/hash/keys.rb index 0db37a6374..536995dd71 100644 --- a/activesupport/lib/core_ext/hash/keys.rb +++ b/activesupport/lib/core_ext/hash/keys.rb @@ -1,6 +1,6 @@ -module ActiveSupport - module CoreExtensions - module Hash +module ActiveSupport #:nodoc: + module CoreExtensions #:nodoc: + module Hash #:nodoc: module Keys # Return a new hash with all keys converted to symbols. @@ -29,7 +29,6 @@ module ActiveSupport unknown_keys = keys - valid_keys raise(ArgumentError, "Unknown key(s): #{unknown_keys.join(", ")}") unless unknown_keys.empty? end - end end end |