📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: Apache
2026-06-22 18:00:40
📂
/ (Root)
/
opt
/
alt
/
ruby33
/
share
/
ri
/
system
/
Enumerable
📍 /opt/alt/ruby33/share/ri/system/Enumerable
🔄 Refresh
✏️
Editing: drop_while-i.ri
Read Only
U:RDoc::AnyMethod[iI"drop_while:ETI"Enumerable#drop_while;TF:privateo:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"CCalls the block with successive elements as long as the block ;TI"returns a truthy value; ;TI"7returns an array of all elements after that point:;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [ I"/(1..4).drop_while{|i| i < 3 } # => [3, 4] ;TI""h = {foo: 0, bar: 1, baz: 2} ;TI"Ca = h.drop_while{|element| key, value = *element; value < 2 } ;TI"a # => [[:baz, 2]] ;T:@format0o; ; [I"0With no block given, returns an Enumerator.;T: @fileI"enum.c;T:0@omit_headings_from_table_of_contents_below0I"Tdrop_while {|element| ... } -> array drop_while -> enumerator ;T0[ I"();T@FI"Enumerable;TcRDoc::NormalModule00
💾 Save Changes
❌ Cancel