📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: Apache
2026-06-22 08:52:20
📂
/ (Root)
/
opt
/
alt
/
ruby33
/
share
/
ri
/
system
/
SyntaxSuggest
/
PathnameFromMessage
📍 /opt/alt/ruby33/share/ri/system/SyntaxSuggest/PathnameFromMessage
🔄 Refresh
✏️
Editing: cdesc-PathnameFromMessage.ri
Read Only
U:RDoc::NormalClass[iI"PathnameFromMessage:ETI"'SyntaxSuggest::PathnameFromMessage;TI"Object;To:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[I"-Converts a SyntaxError message to a path;To:RDoc::Markup::BlankLine o; ;[I";Handles the case where the filename has a colon in it ;TI"Xsuch as on a windows file system: https://github.com/ruby/syntax_suggest/issues/111;T@o; ;[I" Example:;T@o:RDoc::Markup::Verbatim;[I"{message = "/tmp/scratch:2:in `require_relative': /private/tmp/bad.rb:1: syntax error, unexpected `end' (SyntaxError)" ;TI"5puts PathnameFromMessage.new(message).call.name ;TI"# => "/tmp/scratch.rb";T:@format0: @fileI"0lib/syntax_suggest/pathname_from_message.rb;T:0@omit_headings_from_table_of_contents_below0; 0;0[[ I" name;TI"R;T:privateFI"0lib/syntax_suggest/pathname_from_message.rb;T[U:RDoc::Constant[i I"EVAL_RE;TI"0SyntaxSuggest::PathnameFromMessage::EVAL_RE;T:public0o;;[ ; @;0@@cRDoc::NormalClass0U;[i I"STREAMING_RE;TI"5SyntaxSuggest::PathnameFromMessage::STREAMING_RE;T;0o;;[ ; @;0@@@+0[ [[I" class;T[[;[ [:protected[ [;[[I"new;T@#[I" instance;T[[;[ [;[ [;[[I" call;T@#[I"skip_missing_file_name?;T@#[I" stop?;T@#[ [U:RDoc::Context::Section[i 0o;;[ ; 0;0[I"0lib/syntax_suggest/pathname_from_message.rb;TI"SyntaxSuggest;TcRDoc::NormalModule
💾 Save Changes
❌ Cancel