📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: Apache
2026-06-22 23:41:02
📂
/ (Root)
/
opt
/
alt
/
ruby33
/
share
/
ri
/
system
/
SyntaxSuggest
/
CodeLine
📍 /opt/alt/ruby33/share/ri/system/SyntaxSuggest/CodeLine
🔄 Refresh
✏️
Editing: cdesc-CodeLine.ri
Read Only
U:RDoc::NormalClass[iI" CodeLine:ETI"SyntaxSuggest::CodeLine;TI"Object;To:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[I"<Represents a single line of code of a given source file;To:RDoc::Markup::BlankLine o; ;[ I":This object contains metadata about the line such as ;TI"7amount of indentation, if it is empty or not, and ;TI";lexical data, such as if it has an `end` or a keyword ;TI"in it.;T@o; ;[I"IVisibility of lines can be toggled off. Marking a line as invisible ;TI"=indicates that it should not be used for syntax checks. ;TI"5It's functionally the same as commenting it out.;T@o; ;[I" Example:;T@o:RDoc::Markup::Verbatim;[I"4line = CodeLine.from_source("def foo\n").first ;TI"line.number => 1 ;TI"line.empty? # => false ;TI"line.visible? # => true ;TI"line.mark_invisible ;TI"line.visible? # => false;T:@format0: @fileI"$lib/syntax_suggest/code_line.rb;T:0@omit_headings_from_table_of_contents_below0; 0;0[[ I"indent;TI"R;T:privateFI"$lib/syntax_suggest/code_line.rb;T[ I" index;T@,;F@-[ I"lex;T@,;F@-[ I" line;T@,;F@-[ I"line_number;T@,;F@-[ I"number;T@,;F@-[ I" original;T@,;F@-[U:RDoc::Constant[i I"TRAILING_SLASH;TI",SyntaxSuggest::CodeLine::TRAILING_SLASH;T:public0o;;[ ; @(;0@(@cRDoc::NormalClass0[ [[I" class;T[[;[ [:protected[ [;[[I"from_source;T@-[I"new;T@-[I" instance;T[[;[ [;[ [;[[I"<=>;T@-[I"empty?;T@-[I"hidden?;T@-[I"ignore_newline_not_beg?;T@-[I"indent_index;T@-[I"is_end?;T@-[I"is_kw?;T@-[I"mark_invisible;T@-[I"not_empty?;T@-[I"set_kw_end;T@-[I" to_s;T@-[I"trailing_slash?;T@-[I" visible?;T@-[ [U:RDoc::Context::Section[i 0o;;[ ; 0;0[I"$lib/syntax_suggest/code_line.rb;TI"SyntaxSuggest;TcRDoc::NormalModule
💾 Save Changes
❌ Cancel