Class: Crawler::Progress

Inherits:
Object
  • Object
show all
Defined in:
lib/site_context.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeProgress

Returns a new instance of Progress.



77
78
79
80
81
82
83
84
85
# File 'lib/site_context.rb', line 77

def initialize
  @driver1_type = ""
  @driver2_type = ""
  @stage = ""
  @prod  = ""
  @bad_links    = []
  @to_be_scraped = []
  @scraped       = []
end

Instance Attribute Details

Returns the value of attribute bad_links.



75
76
77
# File 'lib/site_context.rb', line 75

def bad_links
  @bad_links
end

#driver1_typeObject

Returns the value of attribute driver1_type.



73
74
75
# File 'lib/site_context.rb', line 73

def driver1_type
  @driver1_type
end

#driver2_typeObject

Returns the value of attribute driver2_type.



73
74
75
# File 'lib/site_context.rb', line 73

def driver2_type
  @driver2_type
end

#prodObject

Returns the value of attribute prod.



74
75
76
# File 'lib/site_context.rb', line 74

def prod
  @prod
end

#scrapedObject

Returns the value of attribute scraped.



75
76
77
# File 'lib/site_context.rb', line 75

def scraped
  @scraped
end

#stageObject

Returns the value of attribute stage.



74
75
76
# File 'lib/site_context.rb', line 74

def stage
  @stage
end

#to_be_scrapedObject

Returns the value of attribute to_be_scraped.



75
76
77
# File 'lib/site_context.rb', line 75

def to_be_scraped
  @to_be_scraped
end