class Registry::Download
def download
def download require 'open-uri' File.open(File.join(Dir.tmpdir, self.filename), 'w') {|f| f.write open(self.url).read } end
def download require 'open-uri' File.open(File.join(Dir.tmpdir, self.filename), 'w') {|f| f.write open(self.url).read } end