Class: VivlioStarter::CLI::PreProcessCommands::IssueRegistry::Counts
- Inherits:
-
Data
- Object
- Data
- VivlioStarter::CLI::PreProcessCommands::IssueRegistry::Counts
- Defined in:
- lib/vivlio_starter/cli/pre_process/issue_registry.rb
Overview
重要度別の件数。counts / summary_by_chapter の戻り値。
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
-
#warns ⇒ Object
readonly
Returns the value of attribute warns.
Instance Method Summary collapse
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors
32 33 34 |
# File 'lib/vivlio_starter/cli/pre_process/issue_registry.rb', line 32 def errors @errors end |
#warns ⇒ Object (readonly)
Returns the value of attribute warns
32 33 34 |
# File 'lib/vivlio_starter/cli/pre_process/issue_registry.rb', line 32 def warns @warns end |
Instance Method Details
#clean? ⇒ Boolean
34 |
# File 'lib/vivlio_starter/cli/pre_process/issue_registry.rb', line 34 def clean? = total.zero? |
#total ⇒ Object
33 |
# File 'lib/vivlio_starter/cli/pre_process/issue_registry.rb', line 33 def total = errors + warns |