Converts this User object to a string representation of it.
Returns:
Returns the user's display name if one is set, otherwise returns the ID.
94 95 96
# File 'lib/chatrix/user.rb', line 94 def to_s @id end