Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

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

Merged
merged 1 commit into from

2 participants

@qnm

No description provided.

@twoism
Owner

whoops ;)

@twoism twoism merged commit e08762c into twoism:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 20, 2012
  1. Correct the example using @json, and a mis-spelling

    Robin Sharp authored
This page is out of date. Refresh to see the latest.
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}
```
Something went wrong with that request. Please try again.