Sha256: 68398042e1b0f5b1e7892bca21b838b240a2c439e2fbe92c4b7d01cda177ffca
Contents?: true
Size: 269 Bytes
Versions: 13
Compression:
Stored size: 269 Bytes
Contents
# encoding: UTF-8 $LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/../../lib') require 'streamly' raise Exception, "You must pass a URL to request" if ARGV[0].nil? url = ARGV[0] Streamly.head(url) do |chunk| STDOUT.write chunk STDOUT.flush end puts
Version data entries
13 entries across 13 versions & 3 rubygems