Class: Mech::PathLoader
- Inherits:
-
Object
- Object
- Mech::PathLoader
- Defined in:
- lib/mech/path_loader.rb
Instance Attribute Summary collapse
-
#paths ⇒ Object
Returns the value of attribute paths.
Instance Method Summary collapse
-
#initialize(config) ⇒ PathLoader
constructor
A new instance of PathLoader.
Constructor Details
#initialize(config) ⇒ PathLoader
Returns a new instance of PathLoader.
4 5 6 7 8 9 |
# File 'lib/mech/path_loader.rb', line 4 def initialize(config) @paths = [] @config = config find_paths filter_paths_by_env end |
Instance Attribute Details
#paths ⇒ Object
Returns the value of attribute paths.
2 3 4 |
# File 'lib/mech/path_loader.rb', line 2 def paths @paths end |