Class: WebRobots::RobotsTxt::Line

### Home Classes Methods

### In Files

- lib/webrobots/robotstxt.rb

### Parent

Object

### Methods

- ::new
- #compile

### Files

- LICENSE.txt
- README.rdoc

### Class/Module Index

Quicksearch

- WebRobots
- WebRobots::Error
- WebRobots::ParseError
- WebRobots::RobotsTxt
- WebRobots::RobotsTxt::AccessControlLine
- WebRobots::RobotsTxt::AgentLine
- WebRobots::RobotsTxt::AllowLine
- WebRobots::RobotsTxt::CrawlDelayLine
- WebRobots::RobotsTxt::DisallowLine
- WebRobots::RobotsTxt::ExtentionLine
- WebRobots::RobotsTxt::Line
- WebRobots::RobotsTxt::Parser
- WebRobots::RobotsTxt::Record
- Nokogiri
- Nokogiri::HTML
- Nokogiri::HTML::Document
- Webrobots

No matching classes.

# WebRobots::RobotsTxt::Line

### Attributes

token[R]
value[R]

### Public Class Methods

new(token, value) click to toggle source

    # File lib/webrobots/robotstxt.rb, line 660
    def initialize(token, value)
      @token = token
      @value = value
      compile
    end

### Public Instance Methods

compile() click to toggle source

    # File lib/webrobots/robotstxt.rb, line 668
    def compile
      self
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.