You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
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!
The text was updated successfully, but these errors were encountered: