# Other Classes

## MailAddr module

MailAddr does not implement any methods or constants. This module exist for only type check.

## Mbox

### included modules

- MailAddr

### Class Methods

new( adr : String, phr = '' : String, ro = nil : Array of String ) : Mbox
  create new Mbox object. adr is "addr-spec", phr is "phrase", ro is array of "routes".

### Methods

addr, addr=( adr: String )
  "addr-spec" string
routes: Array of String
  an array of string which stands "routes"(does not include '@').
phrase, phrase=( phr: String )
  "phrase". This string is decoded.
to_s: String
  convert it to encoded string.
inspect: String
  convert it to decoded string.

## AddrGroup

### included modules

- MailAddr

### Class Methods

new( name, adrs = nil )
  create new AddrGroup object. 'name' is name of group, 'adr' is an array, of Mbox or AddrGroup.

### Methods

This class delegates unknown method to Array. Here's other methods.

each_addr{|addr| .... }
  iteration for each "addr-spec" string.
to_s: String
  convert to encoded string.

Copyright (c) 1999-2001 Minero Aoki <aamine@dp.u-netsurf.ne.jp>