File: C:/Ruby27-x64/lib/ruby/gems/2.7.0/doc/activesupport-7.0.4.2/ri/Enumerable/in_order_of-i.ri
U:RDoc::AnyMethod[iI"in_order_of:ETI"Enumerable#in_order_of;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"tReturns a new +Array+ where the order has been set to that provided in the +series+, based on the +key+ of the ;TI"(objects in the original enumerable.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"V[ Person.find(5), Person.find(3), Person.find(1) ].in_order_of(:id, [ 1, 5, 3 ])
;TI"=# => [ Person.find(1), Person.find(5), Person.find(3) ]
;T:@format0o;
; [I"kIf the +series+ include keys that have no corresponding element in the Enumerable, these are ignored. ;TI"wIf the Enumerable has additional elements that aren't named in the +series+, these are not included in the result.;T:
@fileI".lib/active_support/core_ext/enumerable.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(key, series);T@FI"Enumerable;TcRDoc::NormalModule00