Project

cord

0.0
No commit activity in last 3 years
No release in over 3 years
WIP implementation of a Concat Tree / Rope / Cord for Ruby MRI.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies
 Project Readme
Simple by key / value rehashing for Ruby MRI
  (c) 2010 Lourens Naudé (methodmissing) and James Tucker (raggi)

  http://github.com/methodmissing/rehash

This library works with Ruby 1.8 and 1.9 and exposes the following API :

  hash = { 'a' => 1, 'b' => 2 }
  hash.rekey!(:upcase)
  hash == { 'A' => 1, 'B' => 2 }

  hash = { 1 => 'a, 2 => 'b' }
  hash.revalue!(:upcase)
  hash == { 1 => 'A', 2 => 'B' }

To run the test suite:

  rake

Work in progress, thanks for watching!