Skip to content

mrcsparker/hash_to_array

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Simple library to convert nested hashes to two arrays - one for keys and one for values.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published