From dbe695db933ce2182584c6e4a564e91f266ab448 Mon Sep 17 00:00:00 2001 From: Jim Weirich Date: Wed, 14 Nov 2012 16:05:50 -0500 Subject: [PATCH] Gentled the syntax for the phony task. --- lib/rake/phony.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/rake/phony.rb b/lib/rake/phony.rb index eb7e9f2b0..29633ae06 100644 --- a/lib/rake/phony.rb +++ b/lib/rake/phony.rb @@ -8,6 +8,8 @@ task :phony -def (Rake::Task[:phony]).timestamp # :nodoc: - Time.at 0 +Rake::Task[:phony].tap do |task| + def task.timestamp # :nodoc: + Time.at 0 + end end