What does __FILE__ mean in Ruby?

I see this all the time in Ruby:

require File.dirname(__FILE__) + "/../../config/environment"  

What does __FILE__ mean?

4 Answers
4

Leave a Comment