Skip to content

Commit

Permalink
Change to use alias in place of alias_method
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrmurach committed Sep 27, 2020
1 parent 9aa7850 commit f44a390
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/tty/logger.rb
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,7 @@ def write(*msg)

self
end

alias_method :<<, :write
alias << write

# Log a message given the severtiy level
#
Expand Down

0 comments on commit f44a390

Please sign in to comment.