Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Simple library to convert nested hashes to two arrays - one for keys and one for values.
C Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.textile
extconf.rb
hash_to_array.c
test.rb

README.textile

HashToArray

Simple library that converts a nested hash (or a non-nested hash) to two arrays.
One array contains the hash keys and the other hash contains the hash values.

This is meant to be an example of how to create a C extension for ruby.

Usage

ruby extconf.rb
make
ruby test.rb

Check out test.rb

License

© 2011-2013 Chris Parker, released under the MIT license

Something went wrong with that request. Please try again.