📅  最后修改于: 2022-03-11 15:04:48.702000             🧑  作者: Mango
代码示例1
require 'open-uri'
url = 'https://www.website.com'
puts open(url).read # => Content of the webpage
puts open(url).read.class # => String