📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: Apache
2026-06-22 17:09:56
📂
/ (Root)
/
opt
/
alt
/
ruby33
/
share
/
ri
/
system
/
SyntaxSuggest
/
ParseBlocksFromIndentLine
📍 /opt/alt/ruby33/share/ri/system/SyntaxSuggest/ParseBlocksFromIndentLine
🔄 Refresh
✏️
Editing: cdesc-ParseBlocksFromIndentLine.ri
Read Only
U:RDoc::NormalClass[iI"ParseBlocksFromIndentLine:ETI"-SyntaxSuggest::ParseBlocksFromIndentLine;TI"Object;To:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[I"BThis class is responsible for generating initial code blocks ;TI"&that will then later be expanded.;To:RDoc::Markup::BlankLine o; ;[I"DThe biggest concern when guessing code blocks, is accidentally ;TI"?grabbing one that contains only an "end". In this example:;T@o:RDoc::Markup::Verbatim;[ I" def dog ;TI"# begonn # misspelled `begin` ;TI" puts "bark" ;TI" end ;TI" end ;T:@format0o; ;[I"?The following lines would be matched (from bottom to top):;T@o;;[ I"1) end ;TI" ;TI"2) puts "bark" ;TI" end ;TI" ;TI"3) begonn ;TI" puts "bark" ;TI" end ;T;0o; ;[I"PAt this point it has no where else to expand, and it will yield this inner ;TI"code as a block;T: @fileI"8lib/syntax_suggest/parse_blocks_from_indent_line.rb;T:0@omit_headings_from_table_of_contents_below0; 0;0[[ I"code_lines;TI"R;T:privateFI"8lib/syntax_suggest/parse_blocks_from_indent_line.rb;T[ [ [[I" class;T[[:public[ [:protected[ [;[[I"new;T@4[I" instance;T[[;[ [;[ [;[[I"each_neighbor_block;T@4[ [U:RDoc::Context::Section[i 0o;;[ ; 0;0[I"8lib/syntax_suggest/parse_blocks_from_indent_line.rb;TI"SyntaxSuggest;TcRDoc::NormalModule
💾 Save Changes
❌ Cancel