Methods

WebRobots::RobotsTxt::AgentLine

Attributes

pattern[R]

Public Instance Methods

compile() click to toggle source
     # File lib/webrobots/robotstxt.rb, line 663
663:       def compile
664:         if @value == '*'
665:           @pattern = //
666:         else
667:           @pattern = Regexp.new(Regexp.quote(@value), Regexp::IGNORECASE)
668:         end
669:         self
670:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.