diff --git a/lib/draper/decorated_enumerable_proxy.rb b/lib/draper/decorated_enumerable_proxy.rb index a0b9470..780f0da 100644 --- a/lib/draper/decorated_enumerable_proxy.rb +++ b/lib/draper/decorated_enumerable_proxy.rb @@ -23,7 +23,7 @@ module Draper end def kind_of?(klass) - @wrapped_collection.kind_of?(klass) || super(klass) + super || @wrapped_collection.kind_of?(klass) end alias :is_a? :kind_of?