Class: Kreuzcrawl::CrawlEventComplete
- Inherits:
-
Data
- Object
- Data
- Kreuzcrawl::CrawlEventComplete
- Extended by:
- T::Sig
- Includes:
- CrawlEvent
- Defined in:
- lib/kreuzcrawl/native.rb
Overview
The crawl has completed.
Instance Attribute Summary collapse
-
#pages_crawled ⇒ Object
readonly
rubocop:disable Lint/UselessMethodDefinition.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#pages_crawled ⇒ Object (readonly)
rubocop:disable Lint/UselessMethodDefinition
208 209 210 |
# File 'lib/kreuzcrawl/native.rb', line 208 def pages_crawled @pages_crawled end |
Class Method Details
.from_hash(hash) ⇒ Object
228 229 230 |
# File 'lib/kreuzcrawl/native.rb', line 228 def self.from_hash(hash) new(pages_crawled: hash[:pages_crawled] || hash["pages_crawled"]) end |
Instance Method Details
#complete? ⇒ Boolean
223 |
# File 'lib/kreuzcrawl/native.rb', line 223 def complete? = true |
#error? ⇒ Boolean
220 |
# File 'lib/kreuzcrawl/native.rb', line 220 def error? = false |
#page? ⇒ Boolean
217 |
# File 'lib/kreuzcrawl/native.rb', line 217 def page? = false |