Skip to content

Commit

Permalink
correct readme typos for accessing friends and followers
Browse files Browse the repository at this point in the history
  • Loading branch information
surfacedamage authored and sferik committed Mar 28, 2011
1 parent 5cb5d7d commit 2043ab4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.mkd
Original file line number Diff line number Diff line change
Expand Up @@ -223,10 +223,10 @@ Usage Examples
puts Twitter.home_timeline.first.text

# Who's your most popular friend?
puts Twitter.friends.sort{|a, b| a.followers_count <=> b.followers_count}.reverse.first.name
puts Twitter.friends.users.sort{|a, b| a.followers_count <=> b.followers_count}.reverse.first.name

# Who's your most popular follower?
puts Twitter.followers.sort{|a, b| a.followers_count <=> b.followers_count}.reverse.first.name
puts Twitter.followers.users.sort{|a, b| a.followers_count <=> b.followers_count}.reverse.first.name

# Get your rate limit status
puts Twitter.rate_limit_status.remaining_hits.to_s + " Twitter API request(s) remaining this hour"
Expand Down
1 change: 1 addition & 0 deletions changes.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Typo on readme when sorting friends or followers would yield a no method error.

0 comments on commit 2043ab4

Please sign in to comment.