Ruby Language Special Constants in Ruby __dir__


Example

__dir__ is not a constant but a function
__dir__ is equal to File.dirname(File.realpath(__FILE__))