Class: Nanoc::Checking::Checks::ExternalLinks::Result Private

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#explanationObject (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

#hrefObject (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