--- !ruby/object:RDoc::RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:RDoc::Markup::Flow::P 
  :body: If none is given, returns the resulting hash value of the digest, keeping the digest's state.
- !ruby/struct:RDoc::Markup::Flow::P 
  :body: If a <em>string</em> is given, returns the hash value for the given <em>string</em>, resetting the digest to the initial state before and after the process.
full_name: Digest::Instance#digest
is_singleton: false
name: digest
params: |
  digest_obj.digest -> string
  digest_obj.digest(string) -> string

visibility: public
