using rstrip instead of gsub
This commit is contained in:
parent
3433d67ba8
commit
701a2cca79
|
@ -63,7 +63,7 @@ class WritingConference
|
||||||
# title << self.year
|
# title << self.year
|
||||||
|
|
||||||
title = title.join(', ')
|
title = title.join(', ')
|
||||||
title.gsub(/\s+/, "").chomp(",")
|
title.rstrip.chomp(",")
|
||||||
end
|
end
|
||||||
|
|
||||||
def duration
|
def duration
|
||||||
|
|
Loading…
Reference in New Issue