Skip to content

Commit

Permalink
Merge pull request #6 from olleolleolle/patch-1
Browse files Browse the repository at this point in the history
README: Ruby code fences
  • Loading branch information
amatsuda committed Dec 25, 2017
2 parents fa83d7b + 47b8943 commit 93a8a49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Or install it yourself as:

## Usage

```
```ruby
require 'digest'

# Compute a complete digest
Expand All @@ -53,7 +53,7 @@ sha256.hexdigest

Additionally digests can be encoded in "bubble babble" format as a sequence of consonants and vowels which is more recognizable and comparable than a hexadecimal digest.

```
```ruby
require 'digest/bubblebabble'

Digest::SHA256.bubblebabble 'message' #=> "xopoh-fedac-fenyh-..."
Expand Down

0 comments on commit 93a8a49

Please sign in to comment.