Method: Rake::FileList#pathmap
- Defined in:
- lib/rake/file_list.rb
#pathmap(spec = nil, &block) ⇒ Object
Apply the pathmap spec to each of the included file names, returning a new file list with the modified paths. (See String#pathmap for details.)
272 273 274 |
# File 'lib/rake/file_list.rb', line 272 def pathmap(spec=nil, &block) collect { |fn| fn.pathmap(spec, &block) } end |