ruby / pathname

Pathname represents the name of a file or directory on the filesystem, but not the file itself.
Other
26 stars 16 forks source link

Remove check for File.birthtime #36

Closed peterzhu2118 closed 6 months ago

peterzhu2118 commented 8 months ago

File.birthtime has existed since Ruby 2.2, and pathname requires Ruby >= 2.7.0, so the method will always be there.

hsbt commented 6 months ago

Good catch. Thanks!