mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
lib/net/smtp.rb: Specify frozen_string_literal: true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
14a730e91e
commit
6ca3028eec
4 changed files with 5 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
||||||
# frozen_string_literal: false
|
# frozen_string_literal: true
|
||||||
# = net/smtp.rb
|
# = net/smtp.rb
|
||||||
#
|
#
|
||||||
# Copyright (c) 1999-2007 Yukihiro Matsumoto.
|
# Copyright (c) 1999-2007 Yukihiro Matsumoto.
|
||||||
|
@ -945,7 +945,7 @@ module Net
|
||||||
end
|
end
|
||||||
|
|
||||||
def recv_response
|
def recv_response
|
||||||
buf = ''
|
buf = ''.dup
|
||||||
while true
|
while true
|
||||||
line = @socket.readline
|
line = @socket.readline
|
||||||
buf << line << "\n"
|
buf << line << "\n"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# frozen_string_literal: false
|
# frozen_string_literal: true
|
||||||
require 'net/smtp'
|
require 'net/smtp'
|
||||||
require 'test/unit'
|
require 'test/unit'
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# frozen_string_literal: false
|
# frozen_string_literal: true
|
||||||
require 'net/smtp'
|
require 'net/smtp'
|
||||||
require 'stringio'
|
require 'stringio'
|
||||||
require 'test/unit'
|
require 'test/unit'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# frozen_string_literal: false
|
# frozen_string_literal: true
|
||||||
require 'net/smtp'
|
require 'net/smtp'
|
||||||
require 'test/unit'
|
require 'test/unit'
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue