D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Thread
/
Backtrace
/
Location
/
Filename :
base_label-i.ri
back
Copy
U:RDoc::AnyMethod[iI"base_label:ETI"+Thread::Backtrace::Location#base_label;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"PReturns the base label of this frame, which is usually equal to the label, ;TI"without decoration.;To:RDoc::Markup::BlankLine o; ; [I"$Consider the following example:;T@o:RDoc::Markup::Verbatim; [I" def foo ;TI"1 puts caller_locations(0).first.base_label ;TI" ;TI" 1.times do ;TI"3 puts caller_locations(0).first.base_label ;TI" ;TI" 1.times do ;TI"5 puts caller_locations(0).first.base_label ;TI" end ;TI" end ;TI" end ;T:@format0o; ; [I")The result of calling +foo+ is this:;T@o;; [I" foo ;TI" foo ;TI"foo;T; 0: @fileI"vm_backtrace.c;T:0@omit_headings_from_table_of_contents_below000[ I"();T@(FI" Location;TcRDoc::NormalClass00