2007-12-20 22:22:43 -05:00
|
|
|
require 'rake'
|
|
|
|
|
|
|
|
module Rake
|
|
|
|
|
|
|
|
# Base class for Task Libraries.
|
|
|
|
class TaskLib
|
|
|
|
include Cloneable
|
2011-06-23 18:11:55 -04:00
|
|
|
include Rake::DSL
|
2007-12-20 22:22:43 -05:00
|
|
|
|
2008-09-17 21:17:04 -04:00
|
|
|
# Make a symbol by pasting two strings together.
|
|
|
|
#
|
|
|
|
# NOTE: DEPRECATED! This method is kinda stupid. I don't know why
|
|
|
|
# I didn't just use string interpolation. But now other task
|
|
|
|
# libraries depend on this so I can't remove it without breaking
|
|
|
|
# other people's code. So for now it stays for backwards
|
|
|
|
# compatibility. BUT DON'T USE IT.
|
|
|
|
def paste(a,b) # :nodoc:
|
2007-12-20 22:22:43 -05:00
|
|
|
(a.to_s + b.to_s).intern
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|