Permalink
Browse files

Gentled the syntax for the phony task.

  • Loading branch information...
1 parent 80c81e5 commit dbe695db933ce2182584c6e4a564e91f266ab448 @jimweirich committed Nov 14, 2012
Showing with 4 additions and 2 deletions.
  1. +4 −2 lib/rake/phony.rb
View
@@ -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

0 comments on commit dbe695d

Please sign in to comment.