Method: FakeFS::Pathname#extname

Defined in:
lib/fakefs/pathname.rb

#extnameObject

See File.extname. Returns the file’s extension.



760
761
762
# File 'lib/fakefs/pathname.rb', line 760

def extname
  File.extname(@path)
end