Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix readme: complex type dictionary consisted of only 2 elements with…

…out 'bert' atom being the first element.
  • Loading branch information...
commit 727ee16156948733de173a04526379d7f16bdf3a 1 parent c07dbb8
@yarsanukaev yarsanukaev authored tmm1 committed
Showing with 3 additions and 3 deletions.
  1. +3 −3 README.md
View
6 README.md
@@ -49,9 +49,9 @@ Usage
require 'bert'
bert = BERT.encode(t[:user, {:name => 'TPW', :nick => 'mojombo'}])
- # => "\203h\002d\000\004userh\002d\000\004dictl\000\000\000\002h\002d
- \000\004namem\000\000\000\003TPWh\002d\000\004nickm\000\000\000
- \amojomboj"
+ # => "\203h\002d\000\004userh\003d\000\004bertd\000\004dictl\000\000\
+ 000\002h\002d\000\004namem\000\000\000\003TPWh\002d\000\004nickm\
+ 000\000\000\amojomboj"
BERT.decode(bert)
# => t[:user, {:name=>"TPW", :nick=>"mojombo"}]
Please sign in to comment.
Something went wrong with that request. Please try again.