From 1dbb4adec1c76f4aa324c7232dd5cafe61b3e062 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 17 Jan 2005 01:29:45 +0000 Subject: 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 --- activesupport/lib/core_ext/hash/keys.rb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'activesupport/lib/core_ext/hash') 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 -- cgit v1.2.3