class Net::IMAP::SASL::StringPrepError

ArgumentError raised when string is invalid for the stringprep profile.

Attributes

profile[R]
string[R]

Public Class Methods

new(*args, string: nil, profile: nil) click to toggle source
Calls superclass method
# File net-imap-0.3.7/lib/net/imap/sasl.rb, line 36
def initialize(*args, string: nil, profile: nil)
  @string  = -string.to_str  unless string.nil?
  @profile = -profile.to_str unless profile.nil?
  super(*args)
end