Permalink
Browse files

To hash for set

  • Loading branch information...
1 parent 6cacf9d commit 7bc96c0545409a5ad0bf63a1221f15fb473a8788 @vgololobov committed Mar 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/gattica/data_set.rb
@@ -54,7 +54,7 @@ def to_hash
:items_per_page => @items_per_page,
:start_date => @start_date,
:end_date => @end_date,
- :points => @points }
+ :points => @points.map(&:to_hash) }
end
end

0 comments on commit 7bc96c0

Please sign in to comment.