Class: Kudzu::Agent::Robots::Txt
- Inherits:
-
Model::Base
- Object
- Model::Base
- Kudzu::Agent::Robots::Txt
- Defined in:
- lib/kudzu/agent/robots/txt.rb
Instance Attribute Summary collapse
-
#sets ⇒ Object
Returns the value of attribute sets.
-
#sitemaps ⇒ Object
Returns the value of attribute sitemaps.
Instance Method Summary collapse
-
#initialize ⇒ Txt
constructor
A new instance of Txt.
Constructor Details
#initialize ⇒ Txt
Returns a new instance of Txt.
7 8 9 10 |
# File 'lib/kudzu/agent/robots/txt.rb', line 7 def initialize self.sets = [] self.sitemaps = [] end |
Instance Attribute Details
#sets ⇒ Object
Returns the value of attribute sets.
5 6 7 |
# File 'lib/kudzu/agent/robots/txt.rb', line 5 def sets @sets end |
#sitemaps ⇒ Object
Returns the value of attribute sitemaps.
5 6 7 |
# File 'lib/kudzu/agent/robots/txt.rb', line 5 def sitemaps @sitemaps end |