Hi:
Well, this is not really a bug; but being so easily to avoid this
warning I thought I could send this report.
Using this script:
###############
#!/usr/local/bin/ruby -w
require 'freedb'
begin
f = Freedb.new
ensure
f.close
end
# Fin de Fichero
###############
I get this warning:
../lib/freedb.rb:355: warning: instance variable @handler not initialized
To avoid it, the @handler variable should be initialized in
Freedb.initialize
I append a tiny patch against ruby-freedb-0.5 just to show how I avoided
it.
Regards,
|