Exception: Mail::Field::NilParseError

Inherits:
ParseError show all
Defined in:
lib/mail/field.rb

Overview

:nodoc:

Instance Attribute Summary

Attributes inherited from ParseError

#element, #reason, #value

Instance Method Summary collapse

Constructor Details

#initialize(element) ⇒ NilParseError

Returns a new instance of NilParseError.


101
102
103
# File 'lib/mail/field.rb', line 101

def initialize(element)
  super element, nil, 'nil is invalid'
end