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
/
ruby27
/
share
/
ri
/
system
/
RubyVM
/
InstructionSequence
/
//opt/alt/ruby27/share/ri/system/RubyVM/InstructionSequence/compile-c.ri
U:RDoc::AnyMethod[iI"compile:ETI")RubyVM::InstructionSequence::compile;TT:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"ATakes +source+, a String of Ruby code and compiles it to an ;TI"InstructionSequence.;To:RDoc::Markup::BlankLine o; ; [I"OOptionally takes +file+, +path+, and +line+ which describe the file path, ;TI"Lreal path and first line number of the ruby code in +source+ which are ;TI".metadata attached to the returned +iseq+.;T@o; ; [I"O+file+ is used for `__FILE__` and exception backtrace. +path+ is used for ;TI"N+require_relative+ base. It is recommended these should be the same full ;TI" path.;T@o; ; [I"E+options+, which can be +true+, +false+ or a +Hash+, is used to ;TI";modify the default behavior of the Ruby iseq compiler.;T@o; ; [I"GFor details regarding valid compile options see ::compile_option=.;T@o:RDoc::Markup::Verbatim; [I"6RubyVM::InstructionSequence.compile("a = 1 + 2") ;TI"=#=> <RubyVM::InstructionSequence:<compiled>@<compiled>> ;TI" ;TI"path = "test.rb" ;TI"XRubyVM::InstructionSequence.compile(File.read(path), path, File.expand_path(path)) ;TI"<#=> <RubyVM::InstructionSequence:<compiled>@test.rb:1> ;TI" ;TI"(path = File.expand_path("test.rb") ;TI"FRubyVM::InstructionSequence.compile(File.read(path), path, path) ;TI"M#=> <RubyVM::InstructionSequence:<compiled>@/absolute/path/to/test.rb:1>;T:@format0: @fileI"iseq.c;T:0@omit_headings_from_table_of_contents_below0I"SInstructionSequence.compile(source[, file[, path[, line[, options]]]]) -> iseq;T0[ I"(p1, *args, p3 = {});T@-FI"InstructionSequence;TcRDoc::NormalClass00