class

Mail::FieldList

Inherits Reference < Object

Field List class provides an enhanced array that keeps a list of email fields in order. And allows you to insert new fields without having to worry about the order they will appear in.

Instance methods

<<(field)
Source
add_field(field)
Source
delete_field(name)
Source
get_field(field_name)
Source
has_field?(field_name)
Source
insert_field(field)

Insert the field in sorted order.

Heavily based on bisect.insort from Python, which is: Copyright (C) 2001-2013 Python Software Foundation. Licensed under http://docs.python.org/license.html From http://hg.python.org/cpython/file/2.7/Lib/bisect.py

Source
push(field)
Source
replace_field(field)
Source
select_fields(field_name)
Source
summary
Source