【Ruby】Kernel.__dir__
現在のソースファイル(__FILE__)のあるディレクトリ名を正規化された絶対パスで返す。
https://docs.ruby-lang.org/ja/latest/method/Kernel/m/__dir__.html
#ruby