Skip to content

Instantly share code, notes, and snippets.

@raggi
Created July 12, 2013 23:30
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save raggi/5988629 to your computer and use it in GitHub Desktop.
# Bugs..
p __FILE__, __dir__, eval('__FILE__', binding, __FILE__, 0), eval('__dir__', binding, __FILE__, 0)
# "dir.rb"
# "/Users/raggi"
# "dir.rb"
# nil
@raggi
Copy link
Author

raggi commented Jul 12, 2013

ruby 2.0.0

@raggi
Copy link
Author

raggi commented Jul 12, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment