📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: Apache
2026-06-22 20:25:30
📂
/ (Root)
/
opt
/
alt
/
ruby33
/
share
/
ri
/
system
/
SyntaxSuggest
/
BlockExpand
📍 /opt/alt/ruby33/share/ri/system/SyntaxSuggest/BlockExpand
🔄 Refresh
✏️
Editing: cdesc-BlockExpand.ri
Read Only
U:RDoc::NormalClass[iI"BlockExpand:ETI"SyntaxSuggest::BlockExpand;TI"Object;To:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[I"CThis class is responsible for taking a code block that exists ;TI"Cat a far indentaion and then iteratively increasing the block ;TI"Fso that it captures everything within the same indentation block.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim;[ I" def dog ;TI" puts "bow" ;TI" puts "wow" ;TI" end ;T:@format0o; ;[I"4block = BlockExpand.new(code_lines: code_lines);To;;[I"0.call(CodeBlock.new(lines: code_lines[1])) ;T;0o; ;[I"puts block.to_s ;TI"# => puts "bow";To;;[I"puts "wow" ;T;0o; ;[I"LOnce a code block has captured everything at a given indentation level ;TI"<then it will expand to capture surrounding indentation.;T@o; ;[I"4block = BlockExpand.new(code_lines: code_lines);To;;[I".call(block) ;T;0o; ;[I"block.to_s ;TI"# => def dog;To;;[I" puts "bow" ;TI" puts "wow" ;TI"end;T;0: @fileI"'lib/syntax_suggest/block_expand.rb;T:0@omit_headings_from_table_of_contents_below0; 0;0[ [ [ [[I" class;T[[:public[ [:protected[ [:private[[I"new;TI"'lib/syntax_suggest/block_expand.rb;T[I" instance;T[[;[ [;[ [;[ [I" call;T@J[I"expand_indent;T@J[I"expand_neighbors;T@J[I"inspect;T@J[ [U:RDoc::Context::Section[i 0o;;[ ; 0;0[I"'lib/syntax_suggest/block_expand.rb;TI"SyntaxSuggest;TcRDoc::NormalModule
💾 Save Changes
❌ Cancel