Class: VivlioStarter::CLI::Metrics::SentenceRun

Inherits:
Data
  • Object
show all
Defined in:
lib/vivlio_starter/cli/metrics/sentence_endings.rb

Overview

同一文末が連続した箇所。line は連続の先頭(最初の出現)の行。

Instance Attribute Summary collapse

Instance Attribute Details

#chapter_numObject (readonly)

Returns the value of attribute chapter_num

Returns:

  • (Object)

    the current value of chapter_num



24
25
26
# File 'lib/vivlio_starter/cli/metrics/sentence_endings.rb', line 24

def chapter_num
  @chapter_num
end

#countObject (readonly)

Returns the value of attribute count

Returns:

  • (Object)

    the current value of count



24
25
26
# File 'lib/vivlio_starter/cli/metrics/sentence_endings.rb', line 24

def count
  @count
end

#labelObject (readonly)

Returns the value of attribute label

Returns:

  • (Object)

    the current value of label



24
25
26
# File 'lib/vivlio_starter/cli/metrics/sentence_endings.rb', line 24

def label
  @label
end

#lineObject (readonly)

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



24
25
26
# File 'lib/vivlio_starter/cli/metrics/sentence_endings.rb', line 24

def line
  @line
end