jpg2pdf.rb
# sterilize file name from parantesis and other stinker things
# TODO: optimise it!
# XXX: i bored but i must think about this...later
sterilize file name from parantesis and other stinker things
TODO: optimise it.
XXX: i bored but i must think about this...later
sterilize file name from parantesis and other stinker things TODO : optimise it . XXX : i bored but i must think about this ... later
def sterilize(file_name)
    f = file_name.dup
    f.gsub!(/[\s]/, '_')
    PATTERNS.each { |p| f.gsub!(p, '_') }
    f
  end
def sterilize ( file_name ) f = file_name . dup f . gsub! ( / [ \s ] / , '_' ) PATTERNS . each { | p | f . gsub! ( p , '_' ) } f end
sterilize file name from parantesis and other stinker things
TODO: optimise it!
sterilize file name from parantesis and other stinker things TODO : optimise it!
file_name
<not_specific>