Commit 18c2b062 authored by blackst0ne's avatar blackst0ne Committed by Rémy Coutable

[Rails5] Remove `as` keyword from `Gitlab:Ci:Trace:Stream.delegate :valid?`

parent 9a5765bf
......@@ -10,7 +10,9 @@ module Gitlab
delegate :close, :tell, :seek, :size, :url, :truncate, to: :stream, allow_nil: true
delegate :valid?, to: :stream, as: :present?, allow_nil: true
delegate :valid?, to: :stream, allow_nil: true
alias_method :present?, :valid?
def initialize
@stream = yield
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment