Permalink
Browse files

IdentityMapKeyError is an IndexError

  • Loading branch information...
sferik committed Jul 13, 2012
1 parent 1828908 commit 5503704c8601fa533299e22b49040cd073b85a6a
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/twitter/identity_map.rb
@@ -5,7 +5,8 @@ module Twitter
class IdentityMap < Hash
end
- class IdentityMapKeyError < ::StandardError
+ # Inherit from KeyError when Ruby 1.8 compatibility is removed
+ class IdentityMapKeyError < ::IndexError
end
end

0 comments on commit 5503704

Please sign in to comment.