Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v2_2_9) is shown here.
partition(&block)
public
FileList version of partition.
Needed because the nested arrays should be FileLists in this version.
# File lib/rake/file_list.rb, line 330
def partition(&block) # :nodoc:
resolve
result = @items.partition(&block)
[
FileList.new.import(result[0]),
FileList.new.import(result[1]),
]
end