Class: AutomateIt::DownloadManager

Inherits:
Plugin::Manager show all
Defined in:
lib/automateit/download_manager.rb

Defined Under Namespace

Classes: BaseDriver, OpenURI

Constant Summary

Constants included from Constants

Constants::HELPERS_DIR, Constants::INSTALL_DIR, Constants::PERROR, Constants::PEXEC, Constants::PNOTE, Constants::WARNING_BOILERPLATE

Instance Attribute Summary

Attributes inherited from Plugin::Manager

#drivers

Attributes inherited from Common

#interpreter

Instance Method Summary collapse

Methods inherited from Plugin::Manager

#[], abstract_manager, alias_methods, #available?, #default, #default=, #dispatch, #dispatch_safely, #dispatch_safely_to, #dispatch_to, driver_classes, #driver_for, #driver_suitability_levels_for, inherited, #instantiate_drivers, #setup

Methods inherited from Plugin::Base

#setup, #token, token

Methods inherited from Common

#initialize, #log, #nitpick, #noop, #noop=, #noop?, #preview, #preview=, #preview?, #preview_for, #setup, #superuser?, #writing, #writing=, #writing?

Constructor Details

This class inherits a constructor from AutomateIt::Common

Instance Method Details

#download(*arguments) ⇒ Object

Downloads the source document.

Options:

  • :to – Saves source to this filename or directory. Defaults to current directory.



12
# File 'lib/automateit/download_manager.rb', line 12

def download(*arguments) dispatch(*arguments) end