Changes

Jump to: navigation, search

Advanced Ruby Arrays

60 bytes added, 01:00, 27 November 2007
Intersection, Union and Difference
Ruby's support for array manipulation goes beyond that offered by many other scripting languages. One area where this is particularly true involves the ability to create new arrays based on the union, intersection and difference of two arrays. These features are provided via the following ''set operation'' symbols:
<tableborder="1" cellspacing="0"><tr style="background:#efefef;">
<th>Operator</th><th>Description</th>
<tr>

Navigation menu