Skip to content

Instantly share code, notes, and snippets.

@ngw
Created November 7, 2013 14:00
Show Gist options
  • Save ngw/5fc5c6a63d9e9ed778ae to your computer and use it in GitHub Desktop.
Save ngw/5fc5c6a63d9e9ed778ae to your computer and use it in GitHub Desktop.
def fetch remote
io = StringIO.new
@service.gettextfile remote, io
io.read
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment