another ruby 1.8.1 fix
This commit is contained in:
parent
4efb82ca58
commit
bd42fb7053
1 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/local/bin/ruby -w
|
#!/usr/local/bin/ruby -w
|
||||||
|
|
||||||
# $Dwarf: ripnews.rb,v 1.81 2004/06/16 08:11:07 ward Exp $
|
# $Dwarf: ripnews.rb,v 1.82 2004/06/16 08:17:48 ward Exp $
|
||||||
# $Source$
|
# $Source$
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
@ -67,7 +67,7 @@ def save_file(dir, name, data)
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
when "Array"
|
when "Array"
|
||||||
if file = File.new("#{dir}/#{newname}", "w", "0644")
|
if file = File.new("#{dir}/#{newname}", "w", 0644)
|
||||||
print " Saving as: '#{newname}'\n"
|
print " Saving as: '#{newname}'\n"
|
||||||
data.collect{|i| file.print "#{i}"}
|
data.collect{|i| file.print "#{i}"}
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue