Class: Vivlio::Starter::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



56
57
58
# File 'lib/vivlio/starter/cli/metrics/analyzer.rb', line 56

def chapter_num
  @chapter_num
end

#charsObject (readonly)

Returns the value of attribute chars

Returns:

  • (Object)

    the current value of chars



56
57
58
# File 'lib/vivlio/starter/cli/metrics/analyzer.rb', line 56

def chars
  @chars
end

#pathObject (readonly)

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



56
57
58
# File 'lib/vivlio/starter/cli/metrics/analyzer.rb', line 56

def path
  @path
end

#sectionsObject (readonly)

Returns the value of attribute sections

Returns:

  • (Object)

    the current value of sections



56
57
58
# File 'lib/vivlio/starter/cli/metrics/analyzer.rb', line 56

def sections
  @sections
end

#titleObject (readonly)

Returns the value of attribute title

Returns:

  • (Object)

    the current value of title



56
57
58
# File 'lib/vivlio/starter/cli/metrics/analyzer.rb', line 56

def title
  @title
end

#warningObject (readonly)

Returns the value of attribute warning

Returns:

  • (Object)

    the current value of warning



56
57
58
# File 'lib/vivlio/starter/cli/metrics/analyzer.rb', line 56

def warning
  @warning
end