olds/easy-debian-init.rb
# Method get remote files from the github so far, but it will be extended
# in the future.
Method get remote files from the github so far, but it will be extended
in the future.
Method get remote files from the github so far but it will be extended in the future .
def download_files(path,url)
      c = Crawler::NetHttp.new(@proxy_host, @proxy_port, @proxy_user, @proxy_pass)
      result = c.request_response("#{url}")
      if result
        File.open("#{path}", 'w') { |file| file.write(result.body) }
      end
    end
def download_files ( path , url ) c = Crawler :: NetHttp . new ( @proxy_host , @proxy_port , @proxy_user , @proxy_pass ) result = c . request_response ( "#{url}" ) if result File . open ( "#{path}" , 'w' ) { | file | file . write ( result . body ) } end end
Method get remote files from the github so far, but it will be extended
in the future.
Method get remote files from the github so far but it will be extended in the future .
path
url