From: Alexis Laferrière Date: Sat, 18 Jun 2016 13:45:08 +0000 (-0400) Subject: opportunity: inline Meetup::to_s for prettier prints X-Git-Url: http://nitlanguage.org opportunity: inline Meetup::to_s for prettier prints Signed-off-by: Alexis Laferrière --- diff --git a/contrib/opportunity/src/opportunity_model.nit b/contrib/opportunity/src/opportunity_model.nit index cc72f23..933df2d 100644 --- a/contrib/opportunity/src/opportunity_model.nit +++ b/contrib/opportunity/src/opportunity_model.nit @@ -260,9 +260,7 @@ class Meetup end end - redef fun to_s do - return "Event : {name}\nWhen : {date}\nWhere : {place}" - end + redef fun to_s do return "Event: {name}, date: {date}, place: {place}" end # An answer linked to a Meetup in the database