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! Object.pathy!
``` ```


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


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


Expand Down

0 comments on commit 7e0b1ac

Please sign in to comment.