Class: Nanoc::Extra::Checking::Issue

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

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (Issue) initialize(desc, subject, check_class)

Returns a new instance of Issue



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

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

Instance Attribute Details

- (Object) check_class (readonly)

Returns the value of attribute check_class



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

def check_class
  @check_class
end

- (Object) description (readonly)

Returns the value of attribute description



5
6
7
# File 'lib/nanoc/extra/checking/issue.rb', line 5

def description
  @description
end

- (Object) subject (readonly)

Returns the value of attribute subject



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

def subject
  @subject
end