Class: Mech::PathLoader

Inherits:
Object
  • Object
show all
Defined in:
lib/mech/path_loader.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#pathsObject

Returns the value of attribute paths.



2
3
4
# File 'lib/mech/path_loader.rb', line 2

def paths
  @paths
end