globals/expand_path/expand_path.rb
tests/_examples/globals/expand_path/expand_path.rb in the metorex repository.
puts File.expand_path("lib")
puts File.expand_path("../../../lib", __FILE__)
Output:
/Users/gd/workspace/metorex-lang/metorex/lib
/Users/gd/workspace/metorex-lang/metorex/tests/_examples/lib