Class: Nanoc::Checking::Checks::ExternalLinks::Result Private
- Inherits:
-
Object
- Object
- Nanoc::Checking::Checks::ExternalLinks::Result
- Defined in:
- lib/nanoc/checking/checks/external_links.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Attribute Summary collapse
- #explanation ⇒ Object readonly private
- #href ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(href, explanation) ⇒ Result
constructor
private
A new instance of Result.
Constructor Details
#initialize(href, explanation) ⇒ Result
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Result.
35 36 37 38 |
# File 'lib/nanoc/checking/checks/external_links.rb', line 35 def initialize(href, explanation) @href = href @explanation = explanation end |
Instance Attribute Details
#explanation ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
33 34 35 |
# File 'lib/nanoc/checking/checks/external_links.rb', line 33 def explanation @explanation end |
#href ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
32 33 34 |
# File 'lib/nanoc/checking/checks/external_links.rb', line 32 def href @href end |