Class: TestMap::Config
- Inherits:
-
Object
- Object
- TestMap::Config
- Defined in:
- lib/test_map/config.rb
Overview
Configuration for TestMap
Class Method Summary collapse
Class Method Details
.[](key) ⇒ Object
8 |
# File 'lib/test_map/config.rb', line 8 def self.[](key) = config[key] |
.config ⇒ Object
9 |
# File 'lib/test_map/config.rb', line 9 def self.config = @config ||= default_config |
.configure {|config| ... } ⇒ Object
10 |
# File 'lib/test_map/config.rb', line 10 def self.configure = yield(config) |
.default_config ⇒ Object
12 13 14 15 16 |
# File 'lib/test_map/config.rb', line 12 def self.default_config { logger: Logger.new('/dev/null'), out_file: '.test-map.yml', exclude_patterns: [%r{^(vendor)/}], natural_mapping: nil, skip_files: [%r{^(test/)}], merge: false } end |