Change code style to mimic ffa790138c

This commit is contained in:
Tobias Maier 2011-12-07 17:24:43 +01:00
parent db7f7f843e
commit 348157f216
1 changed files with 1 additions and 1 deletions

View File

@ -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?