diff options
| -rwxr-xr-x | minirake | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -113,8 +113,7 @@ module MiniRake # Timestamp for this task. Basic tasks return the current time for # their time stamp. Other tasks can be more sophisticated. def timestamp - prerequisites = @prerequisites.collect{ |n| n.is_a?(Proc) ? n.call(name) : n }.flatten - prerequisites.collect { |n| Task[n].timestamp }.max || Time.now + Time.now end # Class Methods ---------------------------------------------------- |
