GitHub

Original file line numberDiff line numberDiff line change

@@ -165,7 +165,7 @@ Add the line below to your build configuration.

165165

| File#flock | o | |

166166

| File#lstat | | |

167167

| File#mtime | | |

168-

| File#path, File#to_path | o | |

168+

| File#path | o | |

169169

| File#size | | |

170170

| File#truncate | | |

171171
Original file line numberDiff line numberDiff line change

@@ -199,8 +199,6 @@ def self.extname(filename)

199199

def self.path(filename)

200200

if filename.kind_of?(String)

201201

filename

202-

elsif filename.respond_to?(:to_path)

203-

filename.to_path

204202

else

205203

raise TypeError, "no implicit conversion of #{filename.class} into String"

206204

end

Read the original on github.com ↗