alias -> alias_method
This commit is contained in:
parent
daabe77103
commit
63721db1f3
|
@ -74,7 +74,7 @@ module Draper
|
||||||
def kind_of?(klass)
|
def kind_of?(klass)
|
||||||
decorated_collection.kind_of?(klass) || super
|
decorated_collection.kind_of?(klass) || super
|
||||||
end
|
end
|
||||||
alias :is_a? :kind_of?
|
alias_method :is_a?, :kind_of?
|
||||||
|
|
||||||
protected
|
protected
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue