Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
Corrected example code.
  • Loading branch information
kivraDawi committed Aug 10, 2012
1 parent 20e4dc4 commit 95274da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions readme.md
Expand Up @@ -52,7 +52,7 @@ Start application with start.sh


ewoc_model_handler:create([{book, 3,
[{author, [{words, [{ws, [6, 20]}]}]}]
[{author, [{words, [{wsize, [6, 20]}]}]}]
}]).

This will create three books with field author populated with words,
Expand All @@ -64,7 +64,7 @@ and the size on the two words will be 6 and 20 chars.
Start application with start.sh

Eshell V5.9.1 (abort with ^G)
1> ewoc_model_handler:create([{book, 3, [{title, [{words, [{ws, [6, 20]}]}]}]}]).
1> ewoc_model_handler:create([{book, 3, [{title, [{words, [{wsize, [6, 20]}]}]}]}]).
[{book,[[{author,[]},
{amount,0},
{title,<<"ENqnSWYmWFbxvHQWaFod HJFudP">>}],
Expand Down

0 comments on commit 95274da

Please sign in to comment.