lib/githu3/user.rb in githu3-0.0.3 vs lib/githu3/user.rb in githu3-0.0.4
- old
+ new
@@ -6,8 +6,13 @@
has_many :orgs
has_many :keys
has_many :followers, :class_name => :user
has_many :following, :class_name => :user
+
+ def to_s
+ login || email || name
+ end
+
end
end