Skip to content

Commit

Permalink
alias -> alias_method
Browse files Browse the repository at this point in the history
  • Loading branch information
haines committed Mar 11, 2013
1 parent daabe77 commit 63721db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/draper/collection_decorator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def decorated?
def kind_of?(klass)
decorated_collection.kind_of?(klass) || super
end
alias :is_a? :kind_of?
alias_method :is_a?, :kind_of?

protected

Expand Down

0 comments on commit 63721db

Please sign in to comment.