Module: LoadPath

Defined in:
lib/greenpepper/common/loadpath.rb

Class Method Summary collapse

Class Method Details

.load(paths) ⇒ Object



2
3
4
5
6
# File 'lib/greenpepper/common/loadpath.rb', line 2

def self.load(paths)
  paths.reverse.each{ |path|
    $LOAD_PATH.unshift(path) unless $LOAD_PATH.include?(path)
  }
end