mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/pathname/pathname.c (path_atime): Pathname#atime translated from
pathname.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5e9c47c81d
commit
88e78ac59b
3 changed files with 15 additions and 3 deletions
|
@ -512,9 +512,6 @@ end
|
|||
|
||||
class Pathname # * File *
|
||||
|
||||
# See <tt>File.atime</tt>. Returns last access time.
|
||||
def atime() File.atime(@path) end
|
||||
|
||||
# See <tt>File.ctime</tt>. Returns last (directory entry, not file) change time.
|
||||
def ctime() File.ctime(@path) end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue