How to save an image from URL

require 'net/http'

Net::HTTP.start( 'static.destiney.com' ) { |http|
  resp = http.get( '/ror_vs_c_asm.jpg' )
  open( '/tmp/ror_vs_c_asm.jpg', 'wb' ) { |file|
    file.write(resp.body)
  }
}