module Columbus3
  module Sanitizer
    # make a filename into a nice Javascript symbol
    def self.sanitize filename
      File.basename(filename, ".CSV").strip.gsub(' ', '_').gsub(/[^\w]/, '')
    end
  end
end
