lib/t/list.rb in t-1.1.1 vs lib/t/list.rb in t-1.2.0
- old
+ new
@@ -114,13 +114,13 @@
method_option "number", :aliases => "-n", :type => :numeric, :default => DEFAULT_NUM_RESULTS, :desc => "Limit the number of results."
method_option "reverse", :aliases => "-r", :type => :boolean, :default => false, :desc => "Reverse the order of the sort."
def timeline(list)
owner, list = extract_owner(list, options)
per_page = options['number'] || DEFAULT_NUM_RESULTS
- statuses = collect_with_per_page(per_page) do |opts|
+ tweets = collect_with_per_page(per_page) do |opts|
client.list_timeline(owner, list, opts)
end
- print_statuses(statuses)
+ print_tweets(tweets)
end
map %w(tl) => :timeline
end
end