README.md in rico-0.3.0 vs README.md in rico-0.4.0

- old
+ new

@@ -59,38 +59,38 @@ **Arrays** - sequence of values ```ruby a = Rico::Array.new "bucket", "key" -a.add 3, 1, 1, 4, 2 +a.add [3, 1, 1, 4, 2] a.members # => [3, 1, 1, 4, 2] a.length # => 5 ``` **Lists** - sorted sequence of values ```ruby l = Rico::List.new "bucket", "key" -l.add 3, 1, 1, 4, 2 +l.add [3, 1, 1, 4, 2] l.members # => [1, 1, 2, 3, 4] l.length # => 5 ``` **Sets** - unique sequence of values ```ruby s = Rico::Set.new "bucket", "key" -s.add 3, 1, 1, 4, 2 +s.add [3, 1, 1, 4, 2] s.members # => [3, 1, 4, 2] s.length # => 4 ``` **Sorted Sets** - unique, sorted sequence of values ```ruby s = Rico::SortedSet.new "bucket", "key" -s.add 3, 1, 1, 4, 2 +s.add [3, 1, 1, 4, 2] s.members # => [1, 2, 3, 4] s.length # => 4 ``` **Maps** - key-value mappings @@ -141,10 +141,10 @@ **JSON+gzip**: Objects can be serialized and stored as JSON and then compressed with gzip by specifying a Content-Type header of `application/x-json`. Note that it is not currently possible non-JSON data with the gzip content header using Rico. ```ruby s = Rico::Set.new "bucket", "key" s.content_type = "application/x-gzip" -s.add 1, 2, 3 +s.add [1,2,3] s.get # => [1, 2, 3] s.raw_data # => "\u001F\x8B\b\u0000G...." ``` ## Notes