From 2043ab4a6b723cac2a8ed77e26a4b0e3f4f55b03 Mon Sep 17 00:00:00 2001 From: Aaron Christy Date: Tue, 29 Mar 2011 03:10:38 +0800 Subject: [PATCH] correct readme typos for accessing friends and followers --- README.mkd | 4 ++-- changes.txt | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 changes.txt diff --git a/README.mkd b/README.mkd index 60d331417..85ce88e60 100644 --- a/README.mkd +++ b/README.mkd @@ -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" diff --git a/changes.txt b/changes.txt new file mode 100644 index 000000000..2590808e1 --- /dev/null +++ b/changes.txt @@ -0,0 +1 @@ +Typo on readme when sorting friends or followers would yield a no method error.