On 9/1/07, Gabriel Arellano <[EMAIL PROTECTED]> wrote:
> Diego:
>
> SerĂa algo como esto, no?
>
>
> digest = Digest::MD5.new()
> archivote = File.open("/home/pepe/archivote", 'r')
> archivote.each_line do |linea|
> digest << linea
> end
>
> O estoy muuuuuy errado?
>
Si y no, eso sirve para archivos de tipo texto, no uno binario.
--
Luis Lavena
Multimedia systems
-
Leaders are made, they are not born. They are made by hard effort,
which is the price which all of us must pay to achieve any goal that
is worthwhile.
Vince Lombardi
_______________________________________________
Ruby mailing list
[email protected]
http://lista.rubyargentina.com.ar/listinfo.cgi/ruby-rubyargentina.com.ar