Class: Nanoc::Checking::Issue Private

Inherits:
Object
  • Object
show all
Defined in:
lib/nanoc/checking/issue.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(desc, subject, check_class) ⇒ Issue

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 Issue.



11
12
13
14
15
# File 'lib/nanoc/checking/issue.rb', line 11

def initialize(desc, subject, check_class)
  @description   = desc
  @subject       = subject
  @check_class = check_class
end

Instance Attribute Details

#check_classObject (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.



9
10
11
# File 'lib/nanoc/checking/issue.rb', line 9

def check_class
  @check_class
end

#descriptionObject (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.



7
8
9
# File 'lib/nanoc/checking/issue.rb', line 7

def description
  @description
end

#subjectObject (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.



8
9
10
# File 'lib/nanoc/checking/issue.rb', line 8

def subject
  @subject
end