Top Level Namespace

Defined Under Namespace

Modules: WindowBlessing

Instance Method Summary collapse

Instance Method Details

#add_load_path(path) ⇒ Object



1
2
3
4
# File 'lib/window_blessing.rb', line 1

def add_load_path(path)
  full_path = File.expand_path path
  $LOAD_PATH.unshift full_path unless $LOAD_PATH.include?(path) || $LOAD_PATH.include?(full_path)
end