diff options
author | svn <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-10-20 07:57:31 +0000 |
---|---|---|
committer | svn <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-10-20 07:57:31 +0000 |
commit | 10035cb4bc6c423189c631a183e749e9d7b8d4ef (patch) | |
tree | 6b82d0a978648f7078a755cb78827351b597e3f3 /ext/digest/sha2 | |
parent | 814c1adec7d20b74b9499cb2c1b37e12b1b04681 (diff) |
* remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/digest/sha2')
-rw-r--r-- | ext/digest/sha2/lib/sha2.rb | 8 |
1 files changed, 4 insertions, 4 deletions
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" |