Tuesday, March 2, 2010

File Extension

Hi,

Wanna get file extension

filename.scan(/\.\w+$/)

No comments: