Class: Java::ComPff::PSTRecipient

Inherits:
Object
  • Object
show all
Defined in:
lib/pst/base.rb

Instance Method Summary collapse

Instance Method Details

#hash_stringObject



200
201
202
# File 'lib/pst/base.rb', line 200

def hash_string
  Digest::SHA1.hexdigest(human_id)
end

#human_idObject



196
197
198
# File 'lib/pst/base.rb', line 196

def human_id
  pretty_string
end

#pretty_stringObject



192
193
194
# File 'lib/pst/base.rb', line 192

def pretty_string
  "%s <%s>" % [name, email]
end