Small gem to facilitate working with the ruby load path
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
.document
.gitignore
LICENSE
README.markdown
Rakefile
VERSION
load-me.gemspec

README.markdown

load-me

Installation

The gem is available from RubyGems.org

$ gem install load-me

Usage

require 'load-me'

# add paths relative to ../lib from current file path
LoadPath.relative_to(__FILE__, '../lib')

# add folders to loadpath
LoadPath.add('sound', 'network')             

# change context (base path) and add some more...
LoadPath.relative_to(__FILE__, '../supporting/lib')
LoadPath.add('mixins', 'helpers')             

TODO

Suggestions for improvement are welcome!

Copyright

Copyright (c) 2010 Kristian Mandrup. See LICENSE for details.