Edwin Pratomo <[EMAIL PROTECTED]> writes:
> foo = %w(foo bar baz).collect do |fn|
> fn = "#{fn}.txt"
> fh = File.open(fn, 'r') rescue next nil
fh = File.open(fn, 'r') rescue (next nil)
> "content of #{fn}"
> end
YS
Edwin Pratomo <[EMAIL PROTECTED]> writes:
> foo = %w(foo bar baz).collect do |fn|
> fn = "#{fn}.txt"
> fh = File.open(fn, 'r') rescue next nil
fh = File.open(fn, 'r') rescue (next nil)
> "content of #{fn}"
> end
YS