Sha256: 409d328db2bdb115ce2e0d5914e6a558fb8498f04b1b736630481fe348408106

Contents?: true

Size: 223 Bytes

Versions: 5

Compression:

Stored size: 223 Bytes

Contents

class Ppl::Format::Custom::EmailAddress < Ppl::Format::Custom

  format :a do |email_adddress|
    email_adddress.address
  end

  format :f do |email_adddress|
    if email_adddress.preferred
      "*"
    end
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ppl-4.0.5 lib/ppl/format/custom/email_address.rb
ppl-4.0.3 lib/ppl/format/custom/email_address.rb
ppl-4.0.2 lib/ppl/format/custom/email_address.rb
ppl-4.0.1 lib/ppl/format/custom/email_address.rb
ppl-4.0.0 lib/ppl/format/custom/email_address.rb