aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2007-01-26 21:37:38 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2007-01-26 21:37:38 +0000
commit0aa0c84c179e82a2c7d206e75a5d515b82deeba5 (patch)
treea4dc530a6a2248d7edaf1029124e126765327117 /activesupport/lib/active_support/core_ext
parent768b60e60d19b8940138d5f412fa79f074b5c123 (diff)
downloadrails-0aa0c84c179e82a2c7d206e75a5d515b82deeba5.tar.gz
rails-0aa0c84c179e82a2c7d206e75a5d515b82deeba5.tar.bz2
rails-0aa0c84c179e82a2c7d206e75a5d515b82deeba5.zip
Nodoc the irrelevant (from 1.2)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6044 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/lib/active_support/core_ext')
-rw-r--r--activesupport/lib/active_support/core_ext/name_error.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/activesupport/lib/active_support/core_ext/name_error.rb b/activesupport/lib/active_support/core_ext/name_error.rb
index 2b617b0083..4af8f22821 100644
--- a/activesupport/lib/active_support/core_ext/name_error.rb
+++ b/activesupport/lib/active_support/core_ext/name_error.rb
@@ -1,7 +1,5 @@
-
# Add a +missing_name+ method to NameError instances.
-class NameError < StandardError
-
+class NameError < StandardError #:nodoc:
# Add a method to obtain the missing name from a NameError.
def missing_name
$1 if /((::)?([A-Z]\w*)(::[A-Z]\w*)*)$/ =~ message
@@ -16,5 +14,4 @@ class NameError < StandardError
missing_name == name.to_s
end
end
-
end \ No newline at end of file