# File lib/ezcrypto.rb, line 383 def decrypt_file(src, tgt=nil, options = {} ) options = { :suffix => '.ez', :autoclean => 'true' }.update(options) unless tgt tgt = src tgt = tgt.gsub(/#{options[:suffix]}$/, '') end cipher_file :on_decrypter, src, tgt, options[:autoclean] end