Class: VivlioStarter::CLI::PreProcessCommands::IssueRegistry::Issue

Inherits:
Data
  • Object
show all
Defined in:
lib/vivlio_starter/cli/pre_process/issue_registry.rb

Overview

単一の指摘。 chapter は章 basename("21-images")。章に紐付かない横断的な指摘は nil。 severity は :error / :warn、category は :image / :link / :code_include / :cross_reference / :query_stream / :guard など発生源の種別。

Instance Attribute Summary collapse

Instance Attribute Details

#categoryObject (readonly)

Returns the value of attribute category

Returns:

  • (Object)

    the current value of category



29
30
31
# File 'lib/vivlio_starter/cli/pre_process/issue_registry.rb', line 29

def category
  @category
end

#chapterObject (readonly)

Returns the value of attribute chapter

Returns:

  • (Object)

    the current value of chapter



29
30
31
# File 'lib/vivlio_starter/cli/pre_process/issue_registry.rb', line 29

def chapter
  @chapter
end

#lineObject (readonly)

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



29
30
31
# File 'lib/vivlio_starter/cli/pre_process/issue_registry.rb', line 29

def line
  @line
end

#messageObject (readonly)

Returns the value of attribute message

Returns:

  • (Object)

    the current value of message



29
30
31
# File 'lib/vivlio_starter/cli/pre_process/issue_registry.rb', line 29

def message
  @message
end

#severityObject (readonly)

Returns the value of attribute severity

Returns:

  • (Object)

    the current value of severity



29
30
31
# File 'lib/vivlio_starter/cli/pre_process/issue_registry.rb', line 29

def severity
  @severity
end