[ruby-core:108196] [Ruby master Bug#18680] The documentation for File::Stat#ctime (for example) says: stat.ctime -> aTime
From:
"pedz (Perry Smith)" <noreply@...>
Date:
2022-04-07 15:49:39 UTC
List:
ruby-core #108196
Issue #18680 has been updated by pedz (Perry Smith). Yea. The #atime method has "-> time" ... whatever is decided, the four methods: #atime, #ctime, #mtime, and #birthtime should all have the same doc. ---------------------------------------- Bug #18680: The documentation for File::Stat#ctime (for example) says: stat.ctime -> aTime https://bugs.ruby-lang.org/issues/18680#change-97179 * Author: pedz (Perry Smith) * Status: Open * Priority: Normal * ruby -v: 3.1.1 but it is in the latest git repo * Backport: 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN, 3.1: UNKNOWN ---------------------------------------- I think it returns Time (not aTime). This is true for three of the four "time" methods. I would not mind making a pull request if this would be helpful. -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>