Skip to content

Commit

Permalink
fixed README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nyantani committed Sep 30, 2014
1 parent 522dce0 commit 66262e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -57,7 +57,7 @@ is the `:object` mode.
performance mode.

- `:compat` mode attempts to be compatible with other systems. It will serialize any
`Object`, but will check to see if the `Object` implements an `as_hash` or `to_json`
`Object`, but will check to see if the `Object` implements an `to_hash` or `to_json`
method. If either exists, that method is used for serializing the `Object`.
Since `as_json` is more flexible and produces more consistent output, it is
preferred over the `to_json` method. If neither the `to_json` or `to_hash`
Expand Down

0 comments on commit 66262e3

Please sign in to comment.