lib/mako/feed_constructor.rb
def create_articles(feed, parsed_feed)
      parsed_feed.entries.each do |entry|
        next unless entry.published >= (Time.now - 1.day).beginning_of_day

        feed.articles << Article.new(title: entry.title,
                                     published: entry.published,
                                     summary: entry_summary(entry),
                                     url: entry.url)
      end
    end
def create_articles(feed, parsed_feed)
      parsed_feed.entries.each do |entry|
        next unless entry.published >= (Time.now - 1.day).beginning_of_day

        feed.articles << Article.new(title: entry.title,
                                     published: entry.published,
                                     summary: entry_summary(entry),
                                     url: entry.url)
      end
    end
def create_articles ( feed , parsed_feed ) parsed_feed . entries . each do | entry | next unless entry . published >= ( Time . now - 1 . day ) . beginning_of_day feed . articles << Article . new ( title : entry . title , published : entry . published , summary : entry_summary ( entry ) , url : entry . url ) end end
Creates new Mako::Article objects from the parsed Feedjira::Feed object
 if the source article was published within the last day. Adds the
 Mako::Article objects to the Mako::Feed object's articles attribute.

 @param [Mako::Feed] feed
 @param [Feedjira::Feed] parsed_feed
Creates new Mako :: Article objects from the parsed Feedjira :: Feed object if the source article was published within the last day . Adds the Mako :: Article objects to the Mako :: Feed object s articles attribute .