lib/inch/cli/sparkline_helper.rb in inch-0.5.0.rc5 vs lib/inch/cli/sparkline_helper.rb in inch-0.5.0.rc6
- old
+ new
@@ -21,10 +21,10 @@
def __sparkline(list, grade_lists)
sparkline = Sparkr::Sparkline.new(list)
sparkline.format do |tick, _count, index|
t = tick.color(grade_lists[index].color)
- index == 0 ? t + " " : t
+ index == 0 ? t + ' ' : t
end
end
end
end
end