Permalink
Browse files

Correct the example using @json, and a mis-spelling

  • Loading branch information...
1 parent 22fce0b commit 7e0b1ac6ca5e2bc1cbbd03f5325f639eee1b73f4 @qnm qnm committed Jan 20, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
4 README.md
@@ -18,7 +18,7 @@
Object.pathy!
```
- This adds the conveinece methods to any object
+ This adds the convenience methods to any object
```ruby
@obj = %[
@@ -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}
```

0 comments on commit 7e0b1ac

Please sign in to comment.