Class: Down::Backend

Inherits:
Object
  • Object
show all
Defined in:
lib/down/backend.rb

Direct Known Subclasses

Http, Httpx, NetHttp, Wget

Class Method Summary collapse

Class Method Details

.download(*args, **options, &block) ⇒ Object



12
13
14
# File 'lib/down/backend.rb', line 12

def self.download(*args, **options, &block)
  new.download(*args, **options, &block)
end

.open(*args, **options, &block) ⇒ Object



16
17
18
# File 'lib/down/backend.rb', line 16

def self.open(*args, **options, &block)
  new.open(*args, **options, &block)
end