Permalink
Browse files

leave "." in $:

  • Loading branch information...
1 parent 74d1271 commit 3100dedb4e9f9c99024b00dc77c2e6d7086b30f7 @bct bct committed Mar 22, 2011
Showing with 0 additions and 2 deletions.
  1. +0 −2 lib/require_relative.rb
View
@@ -1,5 +1,3 @@
-$:.delete(".")
-
def require_relative(relative_feature)
file = caller.first.split(/:\d/,2).first
if /\A\((.*)\)/ =~ file # eval, etc.

0 comments on commit 3100ded

Please sign in to comment.