Class: Nanoc::Extra::Checking::Checks::ExternalLinks::Result
- Inherits:
-
Object
- Object
- Nanoc::Extra::Checking::Checks::ExternalLinks::Result
- Defined in:
- lib/nanoc/extra/checking/checks/external_links.rb
Instance Attribute Summary (collapse)
-
- (Object) explanation
readonly
Returns the value of attribute explanation.
-
- (Object) href
readonly
Returns the value of attribute href.
Instance Method Summary (collapse)
-
- (Result) initialize(href, explanation)
constructor
A new instance of Result.
Constructor Details
- (Result) initialize(href, explanation)
Returns a new instance of Result
36 37 38 39 |
# File 'lib/nanoc/extra/checking/checks/external_links.rb', line 36 def initialize(href, explanation) @href = href @explanation = explanation end |
Instance Attribute Details
- (Object) explanation (readonly)
Returns the value of attribute explanation
34 35 36 |
# File 'lib/nanoc/extra/checking/checks/external_links.rb', line 34 def explanation @explanation end |
- (Object) href (readonly)
Returns the value of attribute href
33 34 35 |
# File 'lib/nanoc/extra/checking/checks/external_links.rb', line 33 def href @href end |