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.
needed?()
public
Is this file task needed? Yes
if it doesn’t exist, or if its time stamp is out of date.
# File lib/rake/file_task.rb, line 15
def needed?
! File.exist?(name) || out_of_date?(timestamp) || @application.options.build_all
end