1
0
Fork 0
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:
kazu 2017-01-12 12:17:33 +00:00
parent 14a730e91e
commit 6ca3028eec
4 changed files with 5 additions and 5 deletions

View file

@ -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"

View file

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require 'net/smtp'
require 'test/unit'

View file

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require 'net/smtp'
require 'stringio'
require 'test/unit'

View file

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require 'net/smtp'
require 'test/unit'