Class: Distincter2::D2Config
- Inherits:
-
Object
- Object
- Distincter2::D2Config
- Defined in:
- lib/distincter2/config.rb
Overview
Class representing the configuration for Distincter2.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#exclude_paths ⇒ Set<String>
Accessor for the exclude_paths attribute.
-
#version ⇒ String
Accessor for the version attribute.
Instance Method Summary collapse
-
#initialize(exclude_paths, version = 'v1') ⇒ D2Config
constructor
Initializes a new instance of D2Config.
Constructor Details
#initialize(exclude_paths, version = 'v1') ⇒ D2Config
Initializes a new instance of D2Config.
12 13 14 15 |
# File 'lib/distincter2/config.rb', line 12 def initialize(exclude_paths, version = 'v1') @exclude_paths = exclude_paths.to_set @version = version end |
Instance Attribute Details
#exclude_paths ⇒ Set<String>
Accessor for the exclude_paths attribute.
20 21 22 |
# File 'lib/distincter2/config.rb', line 20 def exclude_paths @exclude_paths end |
#version ⇒ String
Accessor for the version attribute.
25 26 27 |
# File 'lib/distincter2/config.rb', line 25 def version @version end |