diff options
Diffstat (limited to 'lib/rake/phony.rb')
-rw-r--r-- | lib/rake/phony.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/rake/phony.rb b/lib/rake/phony.rb index 0552c26a33..29633ae066 100644 --- a/lib/rake/phony.rb +++ b/lib/rake/phony.rb @@ -8,6 +8,8 @@ require 'rake' task :phony -def (Rake::Task[:phony]).timestamp - Time.at 0 +Rake::Task[:phony].tap do |task| + def task.timestamp # :nodoc: + Time.at 0 + end end |