mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Utility method for getting default config
This commit is contained in:
parent
50bc1af816
commit
ff7fcc6a68
1 changed files with 5 additions and 0 deletions
|
@ -3,6 +3,11 @@ module Spectator
|
||||||
# Use the setters in this class to incrementally build a configuration.
|
# Use the setters in this class to incrementally build a configuration.
|
||||||
# Then call `#build` to create the final configuration.
|
# Then call `#build` to create the final configuration.
|
||||||
class ConfigBuilder
|
class ConfigBuilder
|
||||||
|
# Creates a default configuration.
|
||||||
|
def self.default
|
||||||
|
new.build
|
||||||
|
end
|
||||||
|
|
||||||
@formatter : Formatters::Formatter? = nil
|
@formatter : Formatters::Formatter? = nil
|
||||||
|
|
||||||
# Sets the formatter to use for reporting test progress and results.
|
# Sets the formatter to use for reporting test progress and results.
|
||||||
|
|
Loading…
Reference in a new issue