No description, website, or topics provided.
Ruby Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib
spec
.gitignore
.rspec
.travis.yml
Gemfile
README.md
Rakefile
http_response_to_fs.gemspec

README.md

HttpResponseTofs

Installation

Add this line to your application's Gemfile:

gem 'http_response_to_fs'

And then execute:

$ bundle

Or install it yourself as:

$ gem install http_response_to_fs

Usage

2.4.1 :001 > HttpResponseTofs.cache_dir = './lib/http_cache/'
 => "./lib/http_cache/"
2.4.1 :002 > HttpResponseTofs.open('http://google.net')
 => #<File:./lib/http_cache/http:,,google.net>
2.4.1 :003 > HttpResponseTofs.open('http://google.net')
 => #<File:./lib/http_cache/http:,,google.net> # from cache
2.4.1 :004 >