Sha256: 653b8da190617994bd0bc3e614b517e6fc9fb4a7feb4e8acf50c749cb72343ee
Contents?: true
Size: 268 Bytes
Versions: 13
Compression:
Stored size: 268 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.get(url) do |chunk| STDOUT.write chunk STDOUT.flush end puts
Version data entries
13 entries across 13 versions & 3 rubygems