Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
instance method
TracePoint#path
() -> ::String
path
trace_point.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.1.0-preview1/trace_point.rb, line 323
def path
Primitive.tracepoint_attr_path
end
Returns the path of the file being executed.
See also
#parameters
#raised_exception
#method_id
#return_value
also in
4.0 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0