Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
试试这样:
Image.new :data=>File.new("/path/to/image.jpg","r")
或者
Image.new :data=>File.open('/path/to/image.jpg', 'rb')
我正在尝试显示一个带有超链接的简单 div,x 如下所示:
x
所以,当我运行我的应用程序时,我看到了 div 但我没有