Created
March 23, 2012 06:21
-
-
Save dadeba/2167575 to your computer and use it in GitHub Desktop.
get
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def self.get(url) | |
return self.new(Open3.popen3("curl", "--location", "--compressed", url) {|i,o,e| o.read }) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment