D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
SyntaxSuggest
/
CodeLine
/
Filename :
indent_index-i.ri
back
Copy
U:RDoc::AnyMethod[iI"indent_index:ETI")SyntaxSuggest::CodeLine#indent_index;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"/Used for stable sort via indentation level;To:RDoc::Markup::BlankLine o; ; [ I"3Ruby's sort is not "stable" meaning that when ;TI"5multiple elements have the same value, they are ;TI"5not guaranteed to return in the same order they ;TI"were put in.;T@o; ; [I";So when multiple code lines have the same indentation ;TI"@level, they're sorted by their index value which is unique ;TI"and consistent.;T@o; ; [I"<This is mostly needed for consistency of the test suite;T: @fileI"$lib/syntax_suggest/code_line.rb;T:0@omit_headings_from_table_of_contents_below000[ I"();T@FI" CodeLine;TcRDoc::NormalClass00