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



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

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



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

def check_class
  @check_class
end

- (Object) description (readonly)

Returns the value of attribute description



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

def description
  @description
end

- (Object) subject (readonly)

Returns the value of attribute subject



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

def subject
  @subject
end