summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/digest/digest.c4
-rw-r--r--ext/digest/md5/md5init.c2
-rw-r--r--ext/digest/rmd160/rmd160init.c2
-rw-r--r--ext/digest/sha1/sha1init.c2
-rw-r--r--ext/digest/sha2/lib/sha2.rb8
5 files changed, 9 insertions, 9 deletions
diff --git a/ext/digest/digest.c b/ext/digest/digest.c
index a6d6265249..9838ed33de 100644
--- a/ext/digest/digest.c
+++ b/ext/digest/digest.c
@@ -509,7 +509,7 @@ rb_digest_class_init(VALUE self)
* typedef int (*rb_digest_hash_init_func_t)(void *);
* 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 struct {
* int api_version;
* 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 << string -> digest_base
*
diff --git a/ext/digest/md5/md5init.c b/ext/digest/md5/md5init.c
index 41f966fa7b..6bb7cd82c9 100644
--- a/ext/digest/md5/md5init.c
+++ b/ext/digest/md5/md5init.c
@@ -31,7 +31,7 @@ static const rb_digest_metadata_t md5 = {
*
* == Examples
* require 'digest'
- *
+ *
* # Compute a complete digest
* Digest::MD5.hexdigest 'abc' #=> "90015098..."
*
diff --git a/ext/digest/rmd160/rmd160init.c b/ext/digest/rmd160/rmd160init.c
index fbd6d5a938..10d9370163 100644
--- a/ext/digest/rmd160/rmd160init.c
+++ b/ext/digest/rmd160/rmd160init.c
@@ -29,7 +29,7 @@ static const rb_digest_metadata_t rmd160 = {
*
* == Examples
* require 'digest'
- *
+ *
* # Compute a complete digest
* Digest::RMD160.hexdigest 'abc' #=> "8eb208f7..."
*
diff --git a/ext/digest/sha1/sha1init.c b/ext/digest/sha1/sha1init.c
index 44dda3f9fa..e12d297699 100644
--- a/ext/digest/sha1/sha1init.c
+++ b/ext/digest/sha1/sha1init.c
@@ -33,7 +33,7 @@ static const rb_digest_metadata_t sha1 = {
*
* == Examples
* require 'digest'
- *
+ *
* # Compute a complete digest
* Digest::SHA1.hexdigest 'abc' #=> "a9993e36..."
*
diff --git a/ext/digest/sha2/lib/sha2.rb b/ext/digest/sha2/lib/sha2.rb
index e5a44ff0d4..61a0734850 100644
--- a/ext/digest/sha2/lib/sha2.rb
+++ b/ext/digest/sha2/lib/sha2.rb
@@ -28,18 +28,18 @@ module Digest
#
# ==Examples
# require 'digest'
- #
+ #
# # Compute a complete digest
# Digest::SHA2.hexdigest 'abc' # => "ba7816bf8..."
# Digest::SHA2.new(256).hexdigest 'abc' # => "ba7816bf8..."
# Digest::SHA256.hexdigest 'abc' # => "ba7816bf8..."
- #
+ #
# Digest::SHA2.new(384).hexdigest 'abc' # => "cb00753f4..."
# Digest::SHA384.hexdigest 'abc' # => "cb00753f4..."
- #
+ #
# Digest::SHA2.new(512).hexdigest 'abc' # => "ddaf35a19..."
# Digest::SHA512.hexdigest 'abc' # => "ddaf35a19..."
- #
+ #
# # Compute digest by chunks
# sha2 = Digest::SHA2.new # =>#<Digest::SHA2:256>
# sha2.update "ab"