method
validate_line
validate_line(line)
private
Hide source
# File lib/net/smtp.rb, line 924 def validate_line(line) # A bare CR or LF is not allowed in RFC5321. if /[\r\n]/ =~ line raise ArgumentError, "A line must not contain CR or LF" end end