123456789_123456789_123456789_123456789_123456789_

Exception: Net::IMAP::StringPrep::StringPrepError

Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Subclasses:
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, ArgumentError
Instance Chain:
self, ArgumentError
Inherits: ArgumentError
  • Object
Defined in: lib/net/imap/stringprep.rb

Overview

ArgumentError raised when #string is invalid for the stringprep #profile.

Class Method Summary

Instance Attribute Summary

Constructor Details

.new(*args, string: nil, profile: nil) ⇒ StringPrepError

[ GitHub ]

  
# File '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

Instance Attribute Details

#profile (readonly)

[ GitHub ]

  
# File 'lib/net/imap/stringprep.rb', line 20

attr_reader :string, :profile

#string (readonly)

[ GitHub ]

  
# File 'lib/net/imap/stringprep.rb', line 20

attr_reader :string, :profile