Method: OpenPGP::Packet::UserID#to_s

Defined in:
lib/openpgp/packet.rb

#to_sObject



429
430
431
432
433
434
435
# File 'lib/openpgp/packet.rb', line 429

def to_s
  text = []
  text << name if name
  text << "(#{comment})" if comment
  text << "<#{email}>" if email
  text.join(' ')
end