Class: Scrapetor::Robots::Rule
- Inherits:
-
Struct
- Object
- Struct
- Scrapetor::Robots::Rule
- Defined in:
- lib/scrapetor/robots.rb
Overview
type: :allow or :disallow
Instance Attribute Summary collapse
-
#pattern ⇒ Object
Returns the value of attribute pattern.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Attribute Details
#pattern ⇒ Object
Returns the value of attribute pattern
17 18 19 |
# File 'lib/scrapetor/robots.rb', line 17 def pattern @pattern end |
#type ⇒ Object
Returns the value of attribute type
17 18 19 |
# File 'lib/scrapetor/robots.rb', line 17 def type @type end |