File handling cleanup.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9973 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Etienne Massip
2012-07-11 00:14:56 +00:00
parent 0dbe234226
commit 823ac010c5
3 changed files with 30 additions and 25 deletions
+1 -6
View File
@@ -57,12 +57,7 @@ module RFPDF
end
out['bits'] = image.channel_depth
File.open( TCPDF.k_path_cache + File::basename(filename), 'w'){|f|
f.binmode
f.print image.to_blob
f.close
}
out
end