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
|
||||
#
|
||||
# Copyright (c) 1999-2007 Yukihiro Matsumoto.
|
||||
|
@ -945,7 +945,7 @@ module Net
|
|||
end
|
||||
|
||||
def recv_response
|
||||
buf = ''
|
||||
buf = ''.dup
|
||||
while true
|
||||
line = @socket.readline
|
||||
buf << line << "\n"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# frozen_string_literal: false
|
||||
# frozen_string_literal: true
|
||||
require 'net/smtp'
|
||||
require 'test/unit'
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# frozen_string_literal: false
|
||||
# frozen_string_literal: true
|
||||
require 'net/smtp'
|
||||
require 'stringio'
|
||||
require 'test/unit'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# frozen_string_literal: false
|
||||
# frozen_string_literal: true
|
||||
require 'net/smtp'
|
||||
require 'test/unit'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue