path()
Instance Public methods
Returns the file name of this frame.
For example, using caller_locations.rb
from Thread::Backtrace::Location
1 2 | loc = c( 0 .. 1 ).first loc.path #=> caller_locations.rb |
Returns the file name of this frame.
For example, using caller_locations.rb
from Thread::Backtrace::Location
1 2 | loc = c( 0 .. 1 ).first loc.path #=> caller_locations.rb |
Designed by : w10schools
service@w10schools.com
Please login to continue.