Method: WebRobots#reset
- Defined in:
- lib/webrobots.rb
#reset(url) ⇒ Object
Removes robots.txt cache for the site url.
120 121 122 123 |
# File 'lib/webrobots.rb', line 120 def reset(url) site, = split_uri(url) @robotstxt.delete(site) end |