Class: Evilution::Reporter::CLI::Section Private
- Inherits:
-
Object
- Object
- Evilution::Reporter::CLI::Section
- Defined in:
- lib/evilution/reporter/cli/section.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Attribute Summary collapse
- #fetcher ⇒ Object readonly private
- #formatter ⇒ Object readonly private
- #title ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(title:, fetcher:, formatter:) ⇒ Section
constructor
private
A new instance of Section.
Constructor Details
#initialize(title:, fetcher:, formatter:) ⇒ Section
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Section.
8 9 10 11 12 |
# File 'lib/evilution/reporter/cli/section.rb', line 8 def initialize(title:, fetcher:, formatter:) @title = title @fetcher = fetcher @formatter = formatter end |
Instance Attribute Details
#fetcher ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
6 7 8 |
# File 'lib/evilution/reporter/cli/section.rb', line 6 def fetcher @fetcher end |
#formatter ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
6 7 8 |
# File 'lib/evilution/reporter/cli/section.rb', line 6 def formatter @formatter end |
#title ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
6 7 8 |
# File 'lib/evilution/reporter/cli/section.rb', line 6 def title @title end |