Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ rather than an integer. For example we can convert a base 10 number
to another base 10 number using a different encoding.

```ruby
base = [:Q, :W, :E, :R, :T, :Y, :U, :I, :O, :U]
base = [:Q, :W, :E, :R, :T, :Y, :U, :I, :O, :P]

"10".b(10).to_a(base) #=> [:W, :Q]
```
Expand Down
2 changes: 1 addition & 1 deletion demo/01_synopsis.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ To use a custom character set, use an array of characters as the base
rather than an integer. For example we can convert a base 10 number
to another base 10 number but useing a different encoding.

base = %w[Q W E R T Y U I O U]
base = %w[Q W E R T Y U I O P]

"10".b(10).to_a(base) #=> ["W", "Q"]

Expand Down