Skip to content

Commit

Permalink
Don't depend on hash order
Browse files Browse the repository at this point in the history
  • Loading branch information
sferik committed Dec 14, 2015
1 parent 2d09056 commit 0cd119a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/twitter/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def to_h

# @return [Array]
def to_a
to_h.values.compact
[major, minor, patch, pre].compact
end

# @return [String]
Expand Down

0 comments on commit 0cd119a

Please sign in to comment.