Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
TracePoint#path
() -> ::String
path
trace_point.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/trace_point.rb, line 321
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.1 · 4.0 · 3.3 · 3.2 · 3.1 · 3.0