Skip to content

Commit

Permalink
Note requirements for open-uri
Browse files Browse the repository at this point in the history
  • Loading branch information
dball committed Jan 12, 2011
1 parent 810d23d commit 0cac9b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ a line.

Data URIs can play nicely with open-uri:

require 'data_uri/openuri'
require 'open-uri'
require 'data_uri/open_uri'

open(uri) do |io|
io.content_type # image/gif
Expand Down

0 comments on commit 0cac9b2

Please sign in to comment.