Permalink
Browse files

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

…out 'bert' atom being the first element.
  • Loading branch information...
1 parent c07dbb8 commit 727ee16156948733de173a04526379d7f16bdf3a @yarsanukaev yarsanukaev committed with tmm1 Oct 5, 2010
Showing with 3 additions and 3 deletions.
  1. +3 −3 README.md
View
@@ -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"}]

0 comments on commit 727ee16

Please sign in to comment.