Class: Sprout::RemoteFileLoader

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

Overview

This class is used to load remote files from the network.

Class Method Summary (collapse)

Class Method Details

+ (Object) load(uri, md5 = nil, display_name = nil)



10
11
12
# File 'lib/sprout/remote_file_loader.rb', line 10

def load uri, md5=nil, display_name=nil
  fetch uri.to_s, display_name
end