Skip to content

Gattica::DataSet to_hash method returning an array? #14

Open
CaDs opened this Issue Aug 29, 2012 · 0 comments

1 participant

@CaDs
CaDs commented Aug 29, 2012

Hi
I just installed the gem and I'm playing around to get used to it but I run into a weird case in which the to_hash method for a Gattica::DataSet object is returning an array

This is my code
1.9.3p0 :012 > visits.class
=> Gattica::DataSet

1.9.3p0 :013 > visits.to_hash.class
=> Array

The object itself contains an array of hashes, but the method's name is a little bit misleading since I was expecting to retrieve a hash

Thanks for the hard work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.