lib/yt/video_audit/base.rb in yt-audit-0.5.0 vs lib/yt/video_audit/base.rb in yt-audit-0.5.1
- old
+ new
@@ -5,10 +5,10 @@
@videos = options[:videos]
end
# @return [Fixnum] number of all given videos.
def total_count
- @videos.size
+ @videos.count
end
# @return [Fixnum] number of videos satisfy given condition.
def valid_count
@videos.count {|video| valid? video}