method

validate_line

Importance_0
Ruby latest stable (v2_5_5) - 0 notes - Class: Net::SMTP
validate_line(line) private

No documentation

This method has no description. You can help the Ruby community by adding new notes.

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
Register or log in to add new notes.