module Ms::Ident

Public Class Methods

filetype(file) click to toggle source

returns the filetype (if possible)

# File lib/ms/ident.rb, line 5
def self.filetype(file)
  if file =~ /\.srf$/i
    :srf
  end
end