summaryrefslogtreecommitdiffhomepage
path: root/minirake
diff options
context:
space:
mode:
Diffstat (limited to 'minirake')
-rwxr-xr-xminirake2
1 files changed, 1 insertions, 1 deletions
diff --git a/minirake b/minirake
index 45ae797a9..d19e5d073 100755
--- a/minirake
+++ b/minirake
@@ -237,7 +237,7 @@ module MiniRake
# Time stamp for file task.
def timestamp
- File.new(name.to_s).mtime
+ File::stat(name.to_s).mtime
end
end