Flowdock

Notes posted by wezm

RSS feed
November 24, 2010
0 thanks

Includes the dot

Returns the extension including the ‘.’.

E.g.

Pathname("/path/to/file.rb").extname
#=> ".rb"