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
179 180 181 |
# File 'lib/kreuzcrawl/native.rb', line 179 def pages_crawled @pages_crawled end |
Class Method Details
.from_hash(hash) ⇒ Object
195 196 197 |
# File 'lib/kreuzcrawl/native.rb', line 195 def self.from_hash(hash) new(pages_crawled: hash[:pages_crawled] || hash["pages_crawled"]) end |
Instance Method Details
#complete? ⇒ Boolean
191 192 193 |
# File 'lib/kreuzcrawl/native.rb', line 191 def complete? = true # @param hash [Hash] deserialized from the native extension # @return [self] |
#error? ⇒ Boolean
189 |
# File 'lib/kreuzcrawl/native.rb', line 189 def error? = false |
#page? ⇒ Boolean
187 |
# File 'lib/kreuzcrawl/native.rb', line 187 def page? = false |