Class: R2OAS::AppConfiguration::Tool::PathsStats

Inherits:
Object
  • Object
show all
Defined in:
lib/r2-oas/app_configuration/tool/paths/stats.rb

Constant Summary collapse

DEFAULT_MONTH_TO_TURN_TO_WARNING_COLOR =
3
DEFAULT_WARNING_COLOR =
:red
DEFAULT_TABLE_TITLE_COLOR =
:yellow
DEFAULT_HEADING_COLOR =
:yellow
DEFAULT_HIGHLIGHT_COLOR =
:magenta
VALID_OPTIONS_KEYS =
%i[
  month_to_turn_to_warning_color
  warning_color
  table_title_color
  heading_color
  highlight_color
].freeze

Instance Method Summary collapse

Constructor Details

#initializePathsStats

Returns a new instance of PathsStats.



23
24
25
# File 'lib/r2-oas/app_configuration/tool/paths/stats.rb', line 23

def initialize
  set_default
end

Instance Method Details

#configure {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:



27
28
29
# File 'lib/r2-oas/app_configuration/tool/paths/stats.rb', line 27

def configure
  yield self
end