Class: Crawler::Progress
- Inherits:
-
Object
- Object
- Crawler::Progress
- Defined in:
- lib/site_context.rb
Instance Attribute Summary collapse
-
#bad_links ⇒ Object
Returns the value of attribute bad_links.
-
#driver1_type ⇒ Object
Returns the value of attribute driver1_type.
-
#driver2_type ⇒ Object
Returns the value of attribute driver2_type.
-
#prod ⇒ Object
Returns the value of attribute prod.
-
#scraped ⇒ Object
Returns the value of attribute scraped.
-
#stage ⇒ Object
Returns the value of attribute stage.
-
#to_be_scraped ⇒ Object
Returns the value of attribute to_be_scraped.
Instance Method Summary collapse
-
#initialize ⇒ Progress
constructor
A new instance of Progress.
Constructor Details
#initialize ⇒ Progress
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
#bad_links ⇒ Object
Returns the value of attribute bad_links.
75 76 77 |
# File 'lib/site_context.rb', line 75 def bad_links @bad_links end |
#driver1_type ⇒ Object
Returns the value of attribute driver1_type.
73 74 75 |
# File 'lib/site_context.rb', line 73 def driver1_type @driver1_type end |
#driver2_type ⇒ Object
Returns the value of attribute driver2_type.
73 74 75 |
# File 'lib/site_context.rb', line 73 def driver2_type @driver2_type end |
#prod ⇒ Object
Returns the value of attribute prod.
74 75 76 |
# File 'lib/site_context.rb', line 74 def prod @prod end |
#scraped ⇒ Object
Returns the value of attribute scraped.
75 76 77 |
# File 'lib/site_context.rb', line 75 def scraped @scraped end |
#stage ⇒ Object
Returns the value of attribute stage.
74 75 76 |
# File 'lib/site_context.rb', line 74 def stage @stage end |
#to_be_scraped ⇒ Object
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 |