Class: Evilution::CLI::Printers::Environment Private
- Inherits:
-
Object
- Object
- Evilution::CLI::Printers::Environment
- Defined in:
- lib/evilution/cli/printers/environment.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.
Constant Summary collapse
- PLAIN_SETTINGS =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
%i[ timeout format integration jobs isolation baseline incremental verbose quiet progress min_score suggest_tests save_session skip_heredoc_literals ].freeze
Instance Method Summary collapse
-
#initialize(config, config_file:) ⇒ Environment
constructor
private
A new instance of Environment.
- #render(io) ⇒ Object private
Constructor Details
#initialize(config, config_file:) ⇒ Environment
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 Environment.
12 13 14 15 |
# File 'lib/evilution/cli/printers/environment.rb', line 12 def initialize(config, config_file:) @config = config @config_file = config_file end |
Instance Method Details
#render(io) ⇒ Object
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.
17 18 19 20 21 |
# File 'lib/evilution/cli/printers/environment.rb', line 17 def render(io) lines = header_lines lines.concat(settings_lines) io.puts(lines.join("\n")) end |