Ruby/Failo nuskaitymas iš interneto
< Ruby
require 'open-uri' path = 'http://www.example-page.com/example-path/' open(path, 'rb') { |file| puts file.read end
require 'open-uri' path = 'http://www.example-page.com/example-path/' open(path, 'rb') { |file| puts file.read end