module FileHelper

Public Class Methods

make_string_usable_as_filename(string) click to toggle source
# File lib/cartocss_helper/util/filehelper.rb, line 4
def self.make_string_usable_as_filename(string)
  return string.gsub(/[\x00\/\\:\*\?\"<>\|]/, '_')
end