1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00

unshift to LOAD_PATH rather than <<ing.

This commit is contained in:
Nathan Weizenbaum 2008-10-12 22:38:49 -07:00
parent 9e78eca9f3
commit cc9d768e92
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
dir = File.dirname(__FILE__)
$LOAD_PATH << dir unless $LOAD_PATH.include?(dir)
$LOAD_PATH.unshift dir unless $LOAD_PATH.include?(dir)
# = Haml (XHTML Abstraction Markup Language)
#

View file

@ -1,5 +1,5 @@
dir = File.dirname(__FILE__)
$LOAD_PATH << dir unless $LOAD_PATH.include?(dir)
$LOAD_PATH.unshift dir unless $LOAD_PATH.include?(dir)
# = Sass (Syntactically Awesome StyleSheets)
#