lib/spidr/sanitizers.rb in spidr-0.2.2 vs lib/spidr/sanitizers.rb in spidr-0.2.3
- old
+ new
@@ -1,7 +1,11 @@
require 'uri'
module Spidr
+ #
+ # The {Sanitizers} module adds methods to {Agent} which control the
+ # sanitization of incoming links.
+ #
module Sanitizers
def self.included(base)
base.module_eval do
# Specifies whether the Agent will strip URI fragments
attr_accessor :strip_fragments