6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# File 'lib/socialinvestigator/client/twitter.rb', line 6
def print_user_info( u )
t = "%-20s: %s\n"
printf t, "Screenname", u.user_name
printf t, "Full Name", u.name
printf t, "Bio", u.description
printf t, "Website", lookup_url( u.website.to_s )
printf t, "Joined", u.created_at.strftime( "%Y-%m-%d" )
printf t, "Location", u.location
printf t, "Verified", u.verified?
printf t, "Tweets", u.
printf t, "Followers", u.followers_count
printf t, "Following", u.friends_count
printf t, "Favorites count", u.favorites_count
end
|