| Class | EmailSpec::AddressConverter |
| In: |
lib/email_spec/address_converter.rb
|
| Parent: | Object |
| converter | [RW] |
The block provided to conversion should convert to an email address string or return the input untouched. For example:
EmailSpec::AddressConverter.instance.conversion do |input|
if input.is_a?(User)
input.email
else
input
end
end