Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

from_tuple was overreading by one field. Fixed.

  • Loading branch information...
commit 98be58788955a3442f0798a04a7fb7ed51e31fd8 1 parent 9d29b63
@dieterichlawson dieterichlawson authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/gorillib/model/serialization.rb
View
2  lib/gorillib/model/serialization.rb
@@ -24,7 +24,7 @@ def to_tsv
module ClassMethods
def from_tuple(*vals)
- receive Hash[field_names[0..vals.length].zip(vals)]
+ receive Hash[field_names[0..vals.length-1].zip(vals)]
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.