📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: Apache
2026-06-22 20:32:25
📂
/ (Root)
/
opt
/
alt
/
ruby33
/
share
/
ri
/
system
/
SyntaxSuggest
/
BlockExpand
📍 /opt/alt/ruby33/share/ri/system/SyntaxSuggest/BlockExpand
🔄 Refresh
✏️
Editing: expand_indent-i.ri
Read Only
U:RDoc::AnyMethod[iI"expand_indent:ETI"-SyntaxSuggest::BlockExpand#expand_indent;TF:privateo:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"0Expands code to the next lowest indentation;To:RDoc::Markup::BlankLine o; ; [I"For example:;T@o:RDoc::Markup::Verbatim; [I"1 def dog ;TI"2 print "dog" ;TI"3 end ;T:@format0o; ; [I"TIf a block starts on line 2 then it has captured all it's "neighbors" (code at ;TI"Uthe same indentation or higher). To continue expanding, this block must capture ;TI"Dlines one and three which are at a different indentation level.;T@o; ; [I"VThis method allows fully expanded blocks to decrease their indentation level (so ;TI"Tthey can expand to capture more code up and down). It does this conservatively ;TI"$as there's no undo (currently).;T: @fileI"'lib/syntax_suggest/block_expand.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(block);T@!FI"BlockExpand;TcRDoc::NormalClass00
💾 Save Changes
❌ Cancel