1require 'rake' 2 3module Rake 4 5 # Base class for Task Libraries. 6 class TaskLib 7 include Cloneable 8 include Rake::DSL 9 10 # Make a symbol by pasting two strings together. 11 # 12 # NOTE: DEPRECATED! This method is kinda stupid. I don't know why 13 # I didn't just use string interpolation. But now other task 14 # libraries depend on this so I can't remove it without breaking 15 # other people's code. So for now it stays for backwards 16 # compatibility. BUT DON'T USE IT. 17 def paste(a,b) # :nodoc: 18 (a.to_s + b.to_s).intern 19 end 20 end 21 22end 23