* remove trailing spaces.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
svn 2016-10-20 07:57:31 +00:00
parent 814c1adec7
commit 10035cb4bc
5 changed files with 9 additions and 9 deletions

View File

@ -509,7 +509,7 @@ rb_digest_class_init(VALUE self)
* typedef int (*rb_digest_hash_init_func_t)(void *); * typedef int (*rb_digest_hash_init_func_t)(void *);
* typedef void (*rb_digest_hash_update_func_t)(void *, unsigned char *, size_t); * typedef void (*rb_digest_hash_update_func_t)(void *, unsigned char *, size_t);
* typedef int (*rb_digest_hash_finish_func_t)(void *, unsigned char *); * typedef int (*rb_digest_hash_finish_func_t)(void *, unsigned char *);
* *
* typedef struct { * typedef struct {
* int api_version; * int api_version;
* size_t digest_len; * size_t digest_len;
@ -651,7 +651,7 @@ rb_digest_base_reset(VALUE self)
} }
/* /*
* call-seq: * call-seq:
* digest_base.update(string) -> digest_base * digest_base.update(string) -> digest_base
* digest_base << string -> digest_base * digest_base << string -> digest_base
* *

View File

@ -31,7 +31,7 @@ static const rb_digest_metadata_t md5 = {
* *
* == Examples * == Examples
* require 'digest' * require 'digest'
* *
* # Compute a complete digest * # Compute a complete digest
* Digest::MD5.hexdigest 'abc' #=> "90015098..." * Digest::MD5.hexdigest 'abc' #=> "90015098..."
* *

View File

@ -29,7 +29,7 @@ static const rb_digest_metadata_t rmd160 = {
* *
* == Examples * == Examples
* require 'digest' * require 'digest'
* *
* # Compute a complete digest * # Compute a complete digest
* Digest::RMD160.hexdigest 'abc' #=> "8eb208f7..." * Digest::RMD160.hexdigest 'abc' #=> "8eb208f7..."
* *

View File

@ -33,7 +33,7 @@ static const rb_digest_metadata_t sha1 = {
* *
* == Examples * == Examples
* require 'digest' * require 'digest'
* *
* # Compute a complete digest * # Compute a complete digest
* Digest::SHA1.hexdigest 'abc' #=> "a9993e36..." * Digest::SHA1.hexdigest 'abc' #=> "a9993e36..."
* *

View File

@ -28,18 +28,18 @@ module Digest
# #
# ==Examples # ==Examples
# require 'digest' # require 'digest'
# #
# # Compute a complete digest # # Compute a complete digest
# Digest::SHA2.hexdigest 'abc' # => "ba7816bf8..." # Digest::SHA2.hexdigest 'abc' # => "ba7816bf8..."
# Digest::SHA2.new(256).hexdigest 'abc' # => "ba7816bf8..." # Digest::SHA2.new(256).hexdigest 'abc' # => "ba7816bf8..."
# Digest::SHA256.hexdigest 'abc' # => "ba7816bf8..." # Digest::SHA256.hexdigest 'abc' # => "ba7816bf8..."
# #
# Digest::SHA2.new(384).hexdigest 'abc' # => "cb00753f4..." # Digest::SHA2.new(384).hexdigest 'abc' # => "cb00753f4..."
# Digest::SHA384.hexdigest 'abc' # => "cb00753f4..." # Digest::SHA384.hexdigest 'abc' # => "cb00753f4..."
# #
# Digest::SHA2.new(512).hexdigest 'abc' # => "ddaf35a19..." # Digest::SHA2.new(512).hexdigest 'abc' # => "ddaf35a19..."
# Digest::SHA512.hexdigest 'abc' # => "ddaf35a19..." # Digest::SHA512.hexdigest 'abc' # => "ddaf35a19..."
# #
# # Compute digest by chunks # # Compute digest by chunks
# sha2 = Digest::SHA2.new # =>#<Digest::SHA2:256> # sha2 = Digest::SHA2.new # =>#<Digest::SHA2:256>
# sha2.update "ab" # sha2.update "ab"