Class: Nanoc::Extra::Checking::Checks::ExternalLinks::Result

Inherits:
Object
  • Object
show all
Defined in:
lib/nanoc/extra/checking/checks/external_links.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

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