lib/viddl/system.rb
# Validate that youtube-dl is installed
# @return [Boolean]
Validate that youtube-dl is installed
Validate that youtube - dl is installed
def validate_youtube_dl
      result = Kernel.system("youtube-dl")
      if result.nil?
        raise("Viddl requires that youtube-dl be installed https://github.com/rg3/youtube-dl")
      end
      true
    end
def validate_youtube_dl result = Kernel . system ( "youtube-dl" ) if result . nil? raise ( "Viddl requires that youtube-dl be installed https://github.com/rg3/youtube-dl" ) end true end
Validate that youtube-dl is installed
Validate that youtube - dl is installed
None
Boolean