Silence complaint about Rake::DSL
authorJim Weirich <jim.weirich@gmail.com>
Sun, 4 Dec 2011 06:58:29 +0000 (01:58 -0500)
committerJim Weirich <jim.weirich@gmail.com>
Sun, 4 Dec 2011 06:58:29 +0000 (01:58 -0500)
Rakefile

index 2d24597..5fb5546 100644 (file)
--- a/Rakefile
+++ b/Rakefile
@@ -19,6 +19,8 @@ CLEAN.include("**/*.rbc")
 CLOBBER.include(DIST_DIR)
 
 module Koans
+  extend Rake::DSL if defined?(Rake::DSL)
+
   # Remove solution info from source
   #   __(a,b)     => __
   #   _n_(number) => __