class Chid::Commands::News

Public Instance Methods

run() click to toggle source
# File lib/chid/commands/news.rb, line 25
def run
  articles = ::NewsApi.articles
  ::Paginator.new(articles).paginate { |article| article.summary }
end