Sha256: dafe79ad0047b4683a1751d30ead30d075af0bfb4753302c44e763d9f21e6841
Contents?: true
Size: 414 Bytes
Versions: 2
Compression:
Stored size: 414 Bytes
Contents
# frozen_string_literal: true module YtDlp class Configuration attr_writer :logger, :executable_path def logger @logger ||= Logger.new($stdout) end def executable_path @executable_path ||= File.join(__dir__, '../../vendor/bin/yt-dlp') end end class << self def configure yield config end def config @config ||= Configuration.new end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
yt_dlp-0.2.0 | lib/yt_dlp/configuration.rb |
yt_dlp-0.1.1 | lib/yt_dlp/configuration.rb |