Class: Rake::TaskLib
- Inherits:
-
Object
- Object
- Rake::TaskLib
- Defined in:
- lib/rake/tasklib.rb
Overview
Base class for Task Libraries.
Direct Known Subclasses
Constant Summary
Constants included from FileUtilsExt
Constants included from FileUtils
FileUtils::LN_SUPPORTED, FileUtils::RUBY
Instance Method Summary collapse
-
#paste(a, b) ⇒ Object
Make a symbol by pasting two strings together.
Methods included from FileUtilsExt
#nowrite, #rake_check_options, #rake_merge_option, #rake_output_message, #verbose, #when_writing
Methods included from FileUtils
#ruby, #safe_ln, #sh, #split_all
Methods included from Cloneable
Instance Method Details
#paste(a, b) ⇒ Object
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.
17 18 19 |
# File 'lib/rake/tasklib.rb', line 17 def paste(a,b) # :nodoc: (a.to_s + b.to_s).intern end |