Открытый URL в Ruby
require 'open-uri'
url = 'https://www.website.com'
puts open(url).read # => Content of the webpage
puts open(url).read.class # => String
Curious Chamois