mirror of
https://github.com/elastic/logstash.git
synced 2025-06-29 02:03:30 -04:00
Disabled: * EmptyLineAfterGuardClause * EmptyLineAfterMultilineCondition * EmptyLinesAroundAccessModifier Enabled: * Layout/EmptyLineAfterMagicComment * Layout/EmptyLineBetweenDefs * Layout/EmptyLines * Layout/EmptyLinesAroundArguments * Layout/EmptyLinesAroundAttributeAccessor * Layout/EmptyLinesAroundBeginBody * Layout/EmptyLinesAroundBlockBody * Layout/EmptyLinesAroundExceptionHandlingKeywords * Layout/EmptyLinesAroundMethodBody * Layout/EmptyLinesAroundModuleBody
10 lines
174 B
Ruby
10 lines
174 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Excon
|
|
class UnixSocket < Excon::Socket
|
|
private
|
|
def connect
|
|
@socket = ::UNIXSocket.new(@data[:socket])
|
|
end
|
|
end
|
|
end
|