📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: Apache
2026-06-22 23:47:33
📂
/ (Root)
/
opt
/
alt
/
ruby33
/
share
/
ri
/
system
/
SyntaxSuggest
/
CaptureCodeContext
📍 /opt/alt/ruby33/share/ri/system/SyntaxSuggest/CaptureCodeContext
🔄 Refresh
✏️
Editing: capture_before_after_kws-i.ri
Read Only
U:RDoc::AnyMethod[iI"capture_before_after_kws:ETI"?SyntaxSuggest::CaptureCodeContext#capture_before_after_kws;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"#Shows surrounding kw/end pairs;To:RDoc::Markup::BlankLine o; ; [I">The purpose of showing these extra pairs is due to cases ;TI"8of ambiguity when only one visible line is matched.;T@o; ; [I"For example:;T@o:RDoc::Markup::Verbatim; [ I"1 class Dog ;TI"2 def bark ;TI"4 def eat ;TI"5 end ;TI"6 end ;T:@format0o; ; [I"=In this case either line 2 could be missing an `end` or ;TI"<line 4 was an extra line added by mistake (it happens).;T@o; ; [I"9When we detect the above problem it shows the issue ;TI"as only being on line 2;T@o;; [I"2 def bark ;T; 0o; ; [I":Showing "neighbor" keyword pairs gives extra context:;T@o;; [I"2 def bark ;TI"4 def eat ;TI" 5 end;T; 0: @fileI"/lib/syntax_suggest/capture_code_context.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(block);T@0FI"CaptureCodeContext;TcRDoc::NormalClass00
💾 Save Changes
❌ Cancel