Class: VivlioStarter::CLI::Metrics::ChapterMetrics

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

Overview

章の分析結果を保持するイミュータブルデータ

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



71
72
73
# File 'lib/vivlio_starter/cli/metrics/analyzer.rb', line 71

def chapter_num
  @chapter_num
end

#charsObject (readonly)

Returns the value of attribute chars

Returns:

  • (Object)

    the current value of chars



71
72
73
# File 'lib/vivlio_starter/cli/metrics/analyzer.rb', line 71

def chars
  @chars
end

#pathObject (readonly)

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



71
72
73
# File 'lib/vivlio_starter/cli/metrics/analyzer.rb', line 71

def path
  @path
end

#sectionsObject (readonly)

Returns the value of attribute sections

Returns:

  • (Object)

    the current value of sections



71
72
73
# File 'lib/vivlio_starter/cli/metrics/analyzer.rb', line 71

def sections
  @sections
end

#titleObject (readonly)

Returns the value of attribute title

Returns:

  • (Object)

    the current value of title



71
72
73
# File 'lib/vivlio_starter/cli/metrics/analyzer.rb', line 71

def title
  @title
end

#warningObject (readonly)

Returns the value of attribute warning

Returns:

  • (Object)

    the current value of warning



71
72
73
# File 'lib/vivlio_starter/cli/metrics/analyzer.rb', line 71

def warning
  @warning
end