Class: VivlioStarter::CLI::Metrics::SentenceRun
- Inherits:
-
Data
- Object
- Data
- VivlioStarter::CLI::Metrics::SentenceRun
- Defined in:
- lib/vivlio_starter/cli/metrics/sentence_endings.rb
Overview
同一文末が連続した箇所。line は連続の先頭(最初の出現)の行。
Instance Attribute Summary collapse
-
#chapter_num ⇒ Object
readonly
Returns the value of attribute chapter_num.
-
#count ⇒ Object
readonly
Returns the value of attribute count.
-
#label ⇒ Object
readonly
Returns the value of attribute label.
-
#line ⇒ Object
readonly
Returns the value of attribute line.
Instance Attribute Details
#chapter_num ⇒ Object (readonly)
Returns the value of attribute chapter_num
24 25 26 |
# File 'lib/vivlio_starter/cli/metrics/sentence_endings.rb', line 24 def chapter_num @chapter_num end |
#count ⇒ Object (readonly)
Returns the value of attribute count
24 25 26 |
# File 'lib/vivlio_starter/cli/metrics/sentence_endings.rb', line 24 def count @count end |
#label ⇒ Object (readonly)
Returns the value of attribute label
24 25 26 |
# File 'lib/vivlio_starter/cli/metrics/sentence_endings.rb', line 24 def label @label end |
#line ⇒ Object (readonly)
Returns the value of attribute line
24 25 26 |
# File 'lib/vivlio_starter/cli/metrics/sentence_endings.rb', line 24 def line @line end |