```ruby
@handlers.detect { |klass, _| klass === object }.last