Extended maintenance of Ruby versions 1.8.7 and 1.9.2 ended on July 31, 2014. Read more

In Files

  • digest/lib/md5.rb

Parent

Class/Module Index [+]

Quicksearch

MD5

Public Class Methods

md5(*args) click to toggle source
 
               # File digest/lib/md5.rb, line 19
def md5(*args)
  new(*args)
end
            
new(str = nil) click to toggle source
 
               # File digest/lib/md5.rb, line 11
def new(str = nil)
  if str
    orig_new.update(str)
  else
    orig_new
  end
end
            
Also aliased as: orig_new
orig_new(str = nil) click to toggle source
Alias for: new