Method: Utilities#path_safe

Defined in:
lib/utilities.rb

#path_safe(txt) ⇒ Object

Returns a version of the string safe for a filname or path



277
278
279
# File 'lib/utilities.rb', line 277

def path_safe(txt)
  txt.gsub(" ", "_").gsub(/\,|\[|\]/,"")
end