📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: Apache
2026-06-22 23:44:08
📂
/ (Root)
/
opt
/
alt
/
ruby33
/
share
/
ri
/
system
/
SyntaxSuggest
/
CaptureCodeContext
📍 /opt/alt/ruby33/share/ri/system/SyntaxSuggest/CaptureCodeContext
🔄 Refresh
✏️
Editing: capture_last_end_same_indent-i.ri
Read Only
U:RDoc::AnyMethod[iI"!capture_last_end_same_indent:ETI"CSyntaxSuggest::CaptureCodeContext#capture_last_end_same_indent;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"3When there is an invalid block with a keyword ;TI".missing an end right before another end, ;TI"6it is unclear where which keyword is missing the ;TI"end;To:RDoc::Markup::BlankLine o; ; [I"Take this example:;T@o:RDoc::Markup::Verbatim; [ I"class Dog # 1 ;TI" def bark # 2 ;TI" puts "woof" # 3 ;TI"end # 4 ;T:@format0o; ; [I"EHowever due to https://github.com/ruby/syntax_suggest/issues/32 ;TI",the problem line will be identified as:;T@o;; [I"> class Dog # 1 ;T; 0o; ; [ I"KBecause lines 2, 3, and 4 are technically valid code and are expanded ;TI"Jfirst, deemed valid, and hidden. We need to un-hide the matching end ;TI"Oline 4. Also work backwards and if there's a mis-matched keyword, show it ;TI"too;T: @fileI"/lib/syntax_suggest/capture_code_context.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(block);T@(FI"CaptureCodeContext;TcRDoc::NormalClass00
💾 Save Changes
❌ Cancel