module FFaker::Image
def download_file(url)
def download_file(url) file = Tempfile.new('ffaker_image') file.binmode file << Kernel.open(url).read file.close File.new(file.path) end
def download_file(url) file = Tempfile.new('ffaker_image') file.binmode file << Kernel.open(url).read file.close File.new(file.path) end