class Net::IMAP::StringPrep::ProhibitedCodepoint

string 包含被 table 禁止的代码点时,抛出 StringPrepError 异常。

属性

table[R]

公共类方法

new(table, *args, **kwargs) 点击以切换源代码
# File net-imap-0.5.4/lib/net/imap/stringprep.rb, line 34
def initialize(table, *args, **kwargs)
  @table  = table
  details = (title = Tables::TITLES[table]) ?
    "%s [%s]" % [title, table] : table
  message = "String contains a prohibited codepoint: %s" % [details]
  super(message, *args, **kwargs)
end