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.



129
130
131
# File 'lib/mail/field.rb', line 129

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