Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
CaDs opened this issue Aug 29, 2012 · 0 comments
Closed

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

CaDs opened this issue Aug 29, 2012 · 0 comments

Comments

@CaDs
Copy link

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!

@CaDs CaDs closed this as completed Jun 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant