Sha256: 35bccbec0d562143db34dbfe1d678f4296ee6b51643b1f0a7d0d9108ea2f2dd2
Contents?: true
Size: 510 Bytes
Versions: 14
Compression:
Stored size: 510 Bytes
Contents
require 'yt/video_audit/base' module Yt module VideoAudit # Count how many subject videos include its brand name in the title. class BrandAnchoring < Base def initialize(options = {}) super @brand = options[:brand] end def title 'Brand Anchoring' end def description 'The number of videos with the brand name in the title' end private def valid?(video) !!video.title[/#{@brand}/i] end end end end
Version data entries
14 entries across 14 versions & 1 rubygems