Class: VivlioStarter::CLI::Metrics::LocatedSentence
- Inherits:
-
Data
- Object
- Data
- VivlioStarter::CLI::Metrics::LocatedSentence
- Defined in:
- lib/vivlio_starter/cli/metrics/sentence_collector.rb
Overview
位置つきの 1 文。length は改行を除いた文字数。
Instance Attribute Summary collapse
-
#chapter_num ⇒ Object
readonly
Returns the value of attribute chapter_num.
-
#length ⇒ Object
readonly
Returns the value of attribute length.
-
#line ⇒ Object
readonly
Returns the value of attribute line.
-
#text ⇒ Object
readonly
Returns the value of attribute text.
Instance Attribute Details
#chapter_num ⇒ Object (readonly)
Returns the value of attribute chapter_num
26 27 28 |
# File 'lib/vivlio_starter/cli/metrics/sentence_collector.rb', line 26 def chapter_num @chapter_num end |
#length ⇒ Object (readonly)
Returns the value of attribute length
26 27 28 |
# File 'lib/vivlio_starter/cli/metrics/sentence_collector.rb', line 26 def length @length end |
#line ⇒ Object (readonly)
Returns the value of attribute line
26 27 28 |
# File 'lib/vivlio_starter/cli/metrics/sentence_collector.rb', line 26 def line @line end |
#text ⇒ Object (readonly)
Returns the value of attribute text
26 27 28 |
# File 'lib/vivlio_starter/cli/metrics/sentence_collector.rb', line 26 def text @text end |