# File lib/puppet/indirector/file.rb, line 12 12: def file_format(path) 13: path =~ /\.(\w+)$/ and return $1 14: end