Class: Vivlio::Starter::CLI::Metrics::ChapterMetrics
- Inherits:
-
Data
- Object
- Data
- Vivlio::Starter::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
56 57 58 |
# File 'lib/vivlio/starter/cli/metrics/analyzer.rb', line 56 def chapter_num @chapter_num end |
#chars ⇒ Object (readonly)
Returns the value of attribute chars
56 57 58 |
# File 'lib/vivlio/starter/cli/metrics/analyzer.rb', line 56 def chars @chars end |
#path ⇒ Object (readonly)
Returns the value of attribute path
56 57 58 |
# File 'lib/vivlio/starter/cli/metrics/analyzer.rb', line 56 def path @path end |
#sections ⇒ Object (readonly)
Returns the value of attribute sections
56 57 58 |
# File 'lib/vivlio/starter/cli/metrics/analyzer.rb', line 56 def sections @sections end |
#title ⇒ Object (readonly)
Returns the value of attribute title
56 57 58 |
# File 'lib/vivlio/starter/cli/metrics/analyzer.rb', line 56 def title @title end |
#warning ⇒ Object (readonly)
Returns the value of attribute warning
56 57 58 |
# File 'lib/vivlio/starter/cli/metrics/analyzer.rb', line 56 def warning @warning end |