📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: Apache
2026-06-22 12:05:28
📂
/ (Root)
/
opt
/
alt
/
ruby33
/
share
/
ri
/
system
/
SyntaxSuggest
/
AroundBlockScan
📍 /opt/alt/ruby33/share/ri/system/SyntaxSuggest/AroundBlockScan
🔄 Refresh
✏️
Editing: cdesc-AroundBlockScan.ri
Read Only
U:RDoc::NormalClass[iI"AroundBlockScan:ETI"#SyntaxSuggest::AroundBlockScan;TI"Object;To:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[I"BThis class is useful for exploring contents before and after ;TI"a block;To:RDoc::Markup::BlankLine o; ;[I"BIt searches above and below the passed in block to match for ;TI"#whatever criteria you give it:;T@o; ;[I" Example:;T@o:RDoc::Markup::Verbatim;[I"def dog # 1 ;TI" puts "bark" # 2 ;TI" puts "bark" # 3 ;TI"end # 4 ;TI" ;TI"!scan = AroundBlockScan.new( ;TI" code_lines: code_lines ;TI"2 block: CodeBlock.new(lines: code_lines[1]) ;TI") ;TI" ;TI"scan.scan_while { true } ;TI" ;TI"#puts scan.before_index # => 0 ;TI""puts scan.after_index # => 3;T:@format0: @fileI",lib/syntax_suggest/around_block_scan.rb;T:0@omit_headings_from_table_of_contents_below0; 0;0[ [ [ [[I" class;T[[:public[ [:protected[ [:private[[I"new;TI",lib/syntax_suggest/around_block_scan.rb;T[I" instance;T[[;[ [;[ [;[[I"code_block;T@:[I"force_add_empty;T@:[I"force_add_hidden;T@:[I"inspect;T@:[I" lines;T@:[I"lookahead_balance_one_line;T@:[I"scan_adjacent_indent;T@:[I"scan_neighbors_not_empty;T@:[I"scan_while;T@:[I"stop_after_kw;T@:[ [U:RDoc::Context::Section[i 0o;;[ ; 0;0[I",lib/syntax_suggest/around_block_scan.rb;TI"SyntaxSuggest;TcRDoc::NormalModule
💾 Save Changes
❌ Cancel