Method: FS::Base#extname

Defined in:
lib/fs/base.rb

#extname(path) ⇒ Object

File.extname “tmp/foo/bar.todo” => “.todo”



211
212
213
# File 'lib/fs/base.rb', line 211

def extname(path)
  File.extname(path)
end