Class: LinkChecker::Net::HTTP::Checker

Inherits:
Checker
  • Object
show all
Extended by:
Config
Defined in:
lib/ruby-link-checker/net/http/checker.rb

Constant Summary

Constants included from Config

LinkChecker::Net::HTTP::Config::ATTRIBUTES

Constants included from Config

Config::ATTRIBUTES

Instance Attribute Summary

Attributes inherited from Checker

#results

Instance Method Summary collapse

Methods included from Config

reset

Methods inherited from Checker

#check, #task_klass

Methods included from Callbacks

#callbacks, #delegates, #method_missing, #on

Methods included from Config

#reset, #retries=

Constructor Details

#initialize(options = {}) ⇒ Checker

Returns a new instance of Checker.



21
22
23
24
25
26
# File 'lib/ruby-link-checker/net/http/checker.rb', line 21

def initialize(options = {})
  LinkChecker::Net::HTTP::Config::ATTRIBUTES.each do |key|
    send("#{key}=", options[key] || LinkChecker::Net::HTTP::Config.send(key))
  end
  super options
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class LinkChecker::Callbacks