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



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