📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: Apache
2026-06-22 23:45:11
📂
/ (Root)
/
opt
/
alt
/
ruby33
/
share
/
ri
/
system
/
SyntaxSuggest
/
CaptureCodeContext
📍 /opt/alt/ruby33/share/ri/system/SyntaxSuggest/CaptureCodeContext
🔄 Refresh
✏️
Editing: capture_first_kw_end_same_indent-i.ri
Read Only
U:RDoc::AnyMethod[iI"%capture_first_kw_end_same_indent:ETI"GSyntaxSuggest::CaptureCodeContext#capture_first_kw_end_same_indent;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I":The logical inverse of `capture_last_end_same_indent`;To:RDoc::Markup::BlankLine o; ; [ I"2When there is an invalid block with an `end` ;TI"2missing a keyword right after another `end`, ;TI"2it is unclear where which end is missing the ;TI" keyword.;T@o; ; [I"Take this example:;T@o:RDoc::Markup::Verbatim; [ I"class Dog # 1 ;TI" puts "woof" # 2 ;TI" end # 3 ;TI"end # 4 ;T:@format0o; ; [I",the problem line will be identified as:;T@o;; [I"> end # 4 ;T; 0o; ; [ I"XThis happens because lines 1, 2, and 3 are technically valid code and are expanded ;TI"Qfirst, deemed valid, and hidden. We need to un-hide the matching keyword on ;TI"Kline 1. Also work backwards and if there's a mis-matched end, 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