Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

11 lines (9 sloc) 0.312 kb
# encoding: utf-8
def load_project_path(*projects)
projects.each do |project|
project = project.to_s
project_path = File.join(File.dirname(__FILE__), project, 'lib')
return nil if $LOAD_PATH.include?(File.expand_path(project_path))
$LOAD_PATH.unshift(File.expand_path(project_path))
end
end
Jump to Line
Something went wrong with that request. Please try again.