%PDF- %PDF-
Direktori : /opt/cpanel/ea-ruby24/root/usr/share/ri/system/RubyVM/InstructionSequence/ |
Current File : //opt/cpanel/ea-ruby24/root/usr/share/ri/system/RubyVM/InstructionSequence/label-i.ri |
U:RDoc::AnyMethod[iI" label:ETI"&RubyVM::InstructionSequence#label;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"4Returns the label of this instruction sequence.;To:RDoc::Markup::BlankLine o; ; [I"Q<code><main></code> if it's at the top level, <code><compiled></code> if it ;TI"!was evaluated from a string.;T@o; ; [I"For example, using irb:;T@o:RDoc::Markup::Verbatim; [ I"?iseq = RubyVM::InstructionSequence.compile('num = 1 + 2') ;TI"=#=> <RubyVM::InstructionSequence:<compiled>@<compiled>> ;TI"iseq.label ;TI"#=> "<compiled>" ;T:@format0o; ; [I"Using ::compile_file:;T@o;; [ I"# /tmp/method.rb ;TI"def hello ;TI" puts "hello, world" ;TI" end ;TI" ;TI"# in irb ;TI"I> iseq = RubyVM::InstructionSequence.compile_file('/tmp/method.rb') ;TI"> iseq.label #=> <main>;T; 0: @fileI"iseq.c;T:0@omit_headings_from_table_of_contents_below000[ I"();T@)FI"InstructionSequence;TcRDoc::NormalClass00