Link Details

In the following article I will try to show you, the power of Ruby in three short hash/array examples. First I will show you how to sort a key value array by value. Second I will modify the keys name and create another array with this keys (which are already sorted by values). Third we will sort an array based on the other array keys.

Posted by sacx  |   Submitted: Feb 18 2013 / 07:59

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Recommended Links

Scala
Written by: Ryan Knight
Featured Refcardz: Top Refcardz:
  1. Apache Hadoop
  2. Play
  3. Akka
  4. Debugging JavaScript
  5. Design Patterns
  1. Apache Hadoop
  2. REST
  3. Java
  4. Git
  5. Java Performance
Connect with DZone