Class: Kudzu::Agent::Robots::Txt

Inherits:
Model::Base show all
Defined in:
lib/kudzu/agent/robots/txt.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeTxt

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

#setsObject

Returns the value of attribute sets


5
6
7
# File 'lib/kudzu/agent/robots/txt.rb', line 5

def sets
  @sets
end

#sitemapsObject

Returns the value of attribute sitemaps


5
6
7
# File 'lib/kudzu/agent/robots/txt.rb', line 5

def sitemaps
  @sitemaps
end