class Net::IMAP::StringPrep::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.4.9.1/lib/net/imap/stringprep.rb, line 22
def initialize(*args, string: nil, profile: nil)
  @string  = -string.to_str  unless string.nil?
  @profile = -profile.to_str unless profile.nil?
  super(*args)
end