Skip to content

Commit

Permalink
Correct the example using @JSON, and a mis-spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
qnm committed Jan 20, 2012
1 parent 22fce0b commit 7e0b1ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -18,7 +18,7 @@
Object.pathy!
```

This adds the conveinece methods to any object
This adds the convenience methods to any object

```ruby
@obj = %[
Expand All @@ -34,7 +34,7 @@ puts @obj.at_json_path("number")
=> 1
puts @obj.at_json_path('array')
=> [1,2,3]
@json.at_json_path('hash.one')
@obj.at_json_path('hash.one')
=> {'two' => 2}
```

Expand Down

0 comments on commit 7e0b1ac

Please sign in to comment.