dotar/vim/snippets/ruby/http_get.snippet

3 lines
61 B
Plaintext
Raw Normal View History

2011-11-18 05:45:33 +08:00
require 'net/http'
res = Net::HTTP.get URI.parse('${1:url}')