projects
/
redact.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use OPTIONS instead of @options when trying to generate the output filename.
[redact.git]
/
lib
/
redact
/
app.rb
diff --git
a/lib/redact/app.rb
b/lib/redact/app.rb
index c7266d8c09b4e33e5a810fa84e38b4e09e6325e2..5a229100b1a3b9f8d22919851c1dcf5c9fdbb37b 100644
(file)
--- a/
lib/redact/app.rb
+++ b/
lib/redact/app.rb
@@
-1,5
+1,5
@@
#--
#--
-# $Id: app.rb
43 2005-06-08 17:31:47
Z tilman $
+# $Id: app.rb
57 2005-06-14 15:11:35
Z tilman $
#
# Copyright (c) 2005 Tilman Sauerbeck (tilman at code-monkey de)
#
#
# Copyright (c) 2005 Tilman Sauerbeck (tilman at code-monkey de)
#
@@
-55,7
+55,7
@@
module Redact
exit
end
exit
end
- OPTIONS.output ||=
@options
.input.sub(/.[^.]+$/, ".edj")
+ OPTIONS.output ||=
OPTIONS
.input.sub(/.[^.]+$/, ".edj")
end
def run
end
def run
@@
-200,7
+200,7
@@
EOT
def dump_fonts(ef)
EDJE.font_dir.each do |entry|
def dump_fonts(ef)
EDJE.font_dir.each do |entry|
- ef.write("fonts/#{entry.
filename
}",
+ ef.write("fonts/#{entry.
alias
}",
File.read(entry.filename))
end
end
File.read(entry.filename))
end
end