summaryrefslogtreecommitdiff
path: root/trunk/lib/rake/tasklib.rb
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/lib/rake/tasklib.rb')
-rw-r--r--trunk/lib/rake/tasklib.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/trunk/lib/rake/tasklib.rb b/trunk/lib/rake/tasklib.rb
new file mode 100644
index 0000000000..465a58a0c7
--- /dev/null
+++ b/trunk/lib/rake/tasklib.rb
@@ -0,0 +1,18 @@
+#!/usr/bin/env ruby
+
+require 'rake'
+
+module Rake
+
+ # Base class for Task Libraries.
+ class TaskLib
+
+ include Cloneable
+
+ # Make a symbol by pasting two strings together.
+ def paste(a,b)
+ (a.to_s + b.to_s).intern
+ end
+ end
+
+end