Permalink
Browse files

To hash for set

  • Loading branch information...
vgololobov committed Mar 28, 2012
1 parent c85cb92 commit 81305c0e5fcc9dc719cd30cc5f6cd01ec09993ec
Showing with 1 addition and 6 deletions.
  1. +1 −6 lib/gattica/data_set.rb
View
@@ -49,12 +49,7 @@ def to_yaml
end
def to_hash
- { :total_results => @total_results,
- :start_index => @start_index,
- :items_per_page => @items_per_page,
- :start_date => @start_date,
- :end_date => @end_date,
- :points => @points.map(&:to_hash) }
+ @points.map(&:to_hash)
end
end

0 comments on commit 81305c0

Please sign in to comment.