summaryrefslogtreecommitdiff
path: root/lib/rake/ext/core.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rake/ext/core.rb')
-rw-r--r--lib/rake/ext/core.rb7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/rake/ext/core.rb b/lib/rake/ext/core.rb
index c924c7eaba..7575df15a9 100644
--- a/lib/rake/ext/core.rb
+++ b/lib/rake/ext/core.rb
@@ -1,8 +1,5 @@
-######################################################################
-# Core extension library
-#
class Module
- # Check for an existing method in the current class before extending. IF
+ # Check for an existing method in the current class before extending. If
# the method already exists, then a warning is printed and the extension is
# not added. Otherwise the block is yielded and any definitions in the
# block will take effect.
@@ -17,7 +14,7 @@ class Module
# end
# end
#
- def rake_extension(method)
+ def rake_extension(method) # :nodoc:
if method_defined?(method)
$stderr.puts "WARNING: Possible conflict with Rake extension: " +
"#{self}##{method} already exists"