Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby21
/
share
/
ri
/
2.1.0
/
system
/
Thread
/
Backtrace
/
Location
/
//opt/alt/ruby21/share/ri/2.1.0/system/Thread/Backtrace/Location/label-i.ri
U:RDoc::AnyMethod[iI" label:ETI"&Thread::Backtrace::Location#label;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"%Returns the label of this frame.;To:RDoc::Markup::BlankLine o; ; [I"JUsually consists of method, class, module, etc names with decoration.;T@o; ; [I"$Consider the following example:;T@o:RDoc::Markup::Verbatim; [I" def foo ;TI", puts caller_locations(0).first.label ;TI" ;TI" 1.times do ;TI". puts caller_locations(0).first.label ;TI" ;TI" 1.times do ;TI"0 puts caller_locations(0).first.label ;TI" end ;TI" ;TI" end ;TI" end ;T:@format0o; ; [I")The result of calling +foo+ is this:;T@o;; [I"label: foo ;TI"label: block in foo ;TI"#label: block (2 levels) in foo;T; 0: @fileI"vm_backtrace.c;T:0@omit_headings_from_table_of_contents_below000[ I"();T@+FI" Location;TcRDoc::NormalClass00