Class: Jackasset::UrlChecker
- Inherits:
-
Object
- Object
- Jackasset::UrlChecker
- Defined in:
- lib/jackasset/url_checker.rb
Instance Attribute Summary collapse
-
#uri ⇒ Object
readonly
Returns the value of attribute uri.
-
#url_string ⇒ Object
readonly
Returns the value of attribute url_string.
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(url:) ⇒ UrlChecker
constructor
A new instance of UrlChecker.
Constructor Details
#initialize(url:) ⇒ UrlChecker
Returns a new instance of UrlChecker.
7 8 9 |
# File 'lib/jackasset/url_checker.rb', line 7 def initialize(url:) @url_string = url end |
Instance Attribute Details
#uri ⇒ Object (readonly)
Returns the value of attribute uri.
5 6 7 |
# File 'lib/jackasset/url_checker.rb', line 5 def uri @uri end |
#url_string ⇒ Object (readonly)
Returns the value of attribute url_string.
5 6 7 |
# File 'lib/jackasset/url_checker.rb', line 5 def url_string @url_string end |
Instance Method Details
#call ⇒ Object
11 12 13 |
# File 'lib/jackasset/url_checker.rb', line 11 def call check_url end |