Class: VivlioStarter::CLI::Metrics::ChapterMetrics
- Inherits:
-
Data
- Object
- Data
- VivlioStarter::CLI::Metrics::ChapterMetrics
- Defined in:
- lib/vivlio_starter/cli/metrics/analyzer.rb
Overview
章の分析結果を保持するイミュータブルデータ
Instance Attribute Summary collapse
-
#chapter_num ⇒ Object
readonly
Returns the value of attribute chapter_num.
-
#chars ⇒ Object
readonly
Returns the value of attribute chars.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
-
#sections ⇒ Object
readonly
Returns the value of attribute sections.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
-
#warning ⇒ Object
readonly
Returns the value of attribute warning.
Instance Attribute Details
#chapter_num ⇒ Object (readonly)
Returns the value of attribute chapter_num
71 72 73 |
# File 'lib/vivlio_starter/cli/metrics/analyzer.rb', line 71 def chapter_num @chapter_num end |
#chars ⇒ Object (readonly)
Returns the value of attribute chars
71 72 73 |
# File 'lib/vivlio_starter/cli/metrics/analyzer.rb', line 71 def chars @chars end |
#path ⇒ Object (readonly)
Returns the value of attribute path
71 72 73 |
# File 'lib/vivlio_starter/cli/metrics/analyzer.rb', line 71 def path @path end |
#sections ⇒ Object (readonly)
Returns the value of attribute sections
71 72 73 |
# File 'lib/vivlio_starter/cli/metrics/analyzer.rb', line 71 def sections @sections end |
#title ⇒ Object (readonly)
Returns the value of attribute title
71 72 73 |
# File 'lib/vivlio_starter/cli/metrics/analyzer.rb', line 71 def title @title end |
#warning ⇒ Object (readonly)
Returns the value of attribute warning
71 72 73 |
# File 'lib/vivlio_starter/cli/metrics/analyzer.rb', line 71 def warning @warning end |