Class: DownloadManager

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

Class Method Summary collapse

Class Method Details

.enqueue(tile) ⇒ Object



17
18
19
20
# File 'lib/download_manager.rb', line 17

def self.enqueue(tile)
  @queue << tile
  @thread.run
end

.observer=(observer) ⇒ Object



22
23
24
# File 'lib/download_manager.rb', line 22

def self.observer=(observer)
  @observer = observer
end