Class: Distincter2::D2Config
- Inherits:
-
Object
- Object
- Distincter2::D2Config
- Defined in:
- lib/distincter2/config.rb
Overview
Distincter2 config.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#exclude_paths ⇒ Object
Returns the value of attribute exclude_paths.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(exclude_paths, version = 'v1') ⇒ D2Config
constructor
A new instance of D2Config.
Constructor Details
#initialize(exclude_paths, version = 'v1') ⇒ D2Config
Returns a new instance of D2Config.
10 11 12 13 |
# File 'lib/distincter2/config.rb', line 10 def initialize(exclude_paths, version = 'v1') @exclude_paths = exclude_paths.to_set @version = version end |
Instance Attribute Details
#exclude_paths ⇒ Object
Returns the value of attribute exclude_paths.
15 16 17 |
# File 'lib/distincter2/config.rb', line 15 def exclude_paths @exclude_paths end |
#version ⇒ Object
Returns the value of attribute version.
15 16 17 |
# File 'lib/distincter2/config.rb', line 15 def version @version end |