path -> StringRuby 4.1 から[permalink][rdoc][edit]-
selfに対応する呼び出し可能オブジェクトのソースパスを返します。Proc#source_location や Method#source_location が返す配列の最初の要素と同じものです。
例range = eval("proc {}", binding, "/tmp/sample.rb", 10).source_range p range.path # => "/tmp/sample.rb"[SEE_ALSO] Ruby::SourceRange#absolute_path