Class: Rake::TaskLib

Inherits:
Object show all
Includes:
Cloneable
Defined in:
lib/rake/tasklib.rb

Overview

Base class for Task Libraries.

Instance Method Summary (collapse)

Methods included from Cloneable

#clone, #dup

Instance Method Details

- (Object) paste(a, b)

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.



16
17
18
# File 'lib/rake/tasklib.rb', line 16

def paste(a,b)              # :nodoc:
  (a.to_s + b.to_s).intern
end