lib/vimgolf_finder/challenge.rb in vimgolf-finder-0.1.5 vs lib/vimgolf_finder/challenge.rb in vimgolf-finder-0.1.6
- old
+ new
@@ -4,10 +4,10 @@
attr_accessor :description
attr_accessor :start_file, :end_file, :view_diff
def print(index = 1)
if self.solved?
- VimGolfFinder.ui.log "#{index}. \e[37m#{self.title}\e[0m - #{self.entries} entries (\e[33m#{self.id}\e[0m) [\u2713]"
+ VimGolfFinder.ui.log "#{index}. \e[37m#{self.title}\e[0m - #{self.entries} entries (\e[33m#{self.id}\e[0m) \e[32m[\u2713]\e[0m"
else
VimGolfFinder.ui.log "#{index}. \e[37m#{self.title}\e[0m - #{self.entries} entries (\e[33m#{self.id}\e[0m)"
end
end
\ No newline at end of file