Sha256: 30b1571ad2f8e0316bfe3854b119ed29f88f076a4669a5a60392dd05e0735135
Contents?: true
Size: 352 Bytes
Versions: 15
Compression:
Stored size: 352 Bytes
Contents
# frozen_string_literal: true module Lolcommits class CaptureFake < Capturer def capture FileUtils.cp(test_file, capture_path) end private def test_file filename = capture_duration.zero? ? 'test_image.jpg' : 'test_video.mp4' File.join(Configuration::LOLCOMMITS_ROOT, 'test', 'assets', filename) end end end
Version data entries
15 entries across 15 versions & 1 rubygems