projects
/
quanlib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Refactor page generations, and add hard-coded series naming.
[quanlib.git]
/
cover.rb
diff --git
a/cover.rb
b/cover.rb
index b00d002dfdac8439857b08833738485510ed7376..5cc80a0f24930027dddd82f8b51ec50348d7f1c0 100644
(file)
--- a/
cover.rb
+++ b/
cover.rb
@@
-32,8
+32,7
@@
class Cover
return inspect
end
- def write_image(outputDir, baseName)
- filename = baseName + getExt()
+ def write_image(outputDir, filename)
open(outputDir + '/' + filename, 'wb') do |fd|
fd.write(@data)
end