Sha256: 15b3a8f228f51ea62b2df65226052b2a61d02772768f353e12efad1e69757a89
Contents?: true
Size: 391 Bytes
Versions: 2
Compression:
Stored size: 391 Bytes
Contents
require 'java' module SensibleSwing class MainWindow < javax.swing.JFrame def self.download full_url, to_here require 'open-uri' require 'openssl' eval("OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE") if full_url =~ /https/ writeOut = open(to_here, "wb") writeOut.write(open(full_url).read) writeOut.close end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sensible-cinema-0.25.4 | bin/sensible-cinema-dependencies.rb |
sensible-cinema-0.25.3 | bin/sensible-cinema-dependencies.rb |