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
39 40 41 42 |
# File 'lib/nanoc/extra/checking/checks/external_links.rb', line 39 def initialize(href, explanation) @href = href @explanation = explanation end |
Instance Attribute Details
- (Object) explanation (readonly)
Returns the value of attribute explanation
37 38 39 |
# File 'lib/nanoc/extra/checking/checks/external_links.rb', line 37 def explanation @explanation end |
- (Object) href (readonly)
Returns the value of attribute href
36 37 38 |
# File 'lib/nanoc/extra/checking/checks/external_links.rb', line 36 def href @href end |