instance method Pathname#extname

extname -> String[permalink][rdoc][edit]

File.extname(self.to_s) と同じです。

[SEE_ALSO] File.extname