PATH:
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
SyntaxSuggest
U:RDoc::AnyMethod[iI"valid_without?:ETI""SyntaxSuggest::valid_without?;TT:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"+SyntaxSuggest.valid_without? [Private];To:RDoc::Markup::BlankLine o; ; [ I";This will tell you if the `code_lines` would be valid ;TI"9if you removed the `without_lines`. In short it's a ;TI"?way to detect if we've found the lines with syntax errors ;TI"in our document yet.;T@o:RDoc::Markup::Verbatim; [I"code_lines = [ ;TI"3 CodeLine.new(line: "def foo\n", index: 0) ;TI"3 CodeLine.new(line: " def bar\n", index: 1) ;TI"3 CodeLine.new(line: "end\n", index: 2) ;TI"] ;TI" ;TI"#SyntaxSuggest.valid_without?( ;TI"% without_lines: code_lines[1], ;TI" code_lines: code_lines ;TI"4) # => true ;TI" ;TI"0SyntaxSuggest.valid?(code_lines) # => false;T:@format0: @fileI"lib/syntax_suggest/api.rb;T:0@omit_headings_from_table_of_contents_below000[ I""(without_lines:, code_lines:);T@#FI"SyntaxSuggest;TcRDoc::NormalModule00
[+]
Error
[+]
PriorityQueue
[+]
CodeSearch
[+]
RipperErrors
[-] handle_error-c.ri
[edit]
[+]
CleanDocument
[+]
LexValue
[+]
MiniStringIO
[+]
Capture
[+]
LeftRightLexCount
[+]
GetParseErrors
[-] use_prism_parser%3f-c.ri
[edit]
[+]
ExplainSyntax
[+]
ScanHistory
[+]
PriorityEngulfQueue
[+]
UnvisitedLines
[+]
Cli
[+]
CaptureCodeContext
[+]
AroundBlockScan
[+]
DisplayCodeWithLineNumbers
[+]
CodeLine
[-] valid_without%3f-c.ri
[edit]
[+]
PathnameFromMessage
[-] record_dir-c.ri
[edit]
[+]
CodeFrontier
[+]
DisplayInvalidBlocks
[+]
..
[-] module_for_detailed_message-c.ri
[edit]
[-] call-c.ri
[edit]
[+]
BlockExpand
[-] valid%3f-c.ri
[edit]
[+]
LexAll
[+]
CodeBlock
[-] cdesc-SyntaxSuggest.ri
[edit]
[-] invalid%3f-c.ri
[edit]
[+]
ParseBlocksFromIndentLine
[-] detailed_message-i.ri
[edit]