Class: Evilution::Reporter::CLI::Section
- Inherits:
-
Object
- Object
- Evilution::Reporter::CLI::Section
- Defined in:
- lib/evilution/reporter/cli/section.rb
Instance Attribute Summary collapse
-
#fetcher ⇒ Object
readonly
Returns the value of attribute fetcher.
-
#formatter ⇒ Object
readonly
Returns the value of attribute formatter.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize(title:, fetcher:, formatter:) ⇒ Section
constructor
A new instance of Section.
Constructor Details
#initialize(title:, fetcher:, formatter:) ⇒ Section
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)
Returns the value of attribute fetcher.
6 7 8 |
# File 'lib/evilution/reporter/cli/section.rb', line 6 def fetcher @fetcher end |
#formatter ⇒ Object (readonly)
Returns the value of attribute formatter.
6 7 8 |
# File 'lib/evilution/reporter/cli/section.rb', line 6 def formatter @formatter end |
#title ⇒ Object (readonly)
Returns the value of attribute title.
6 7 8 |
# File 'lib/evilution/reporter/cli/section.rb', line 6 def title @title end |