lib/cinnamon_serial/formatting.rb in cinnamon_serial-2.1.0 vs lib/cinnamon_serial/formatting.rb in cinnamon_serial-2.1.1

- old
+ new

@@ -22,10 +22,10 @@ (mask_with.to_s * (string_value.size - keep_last)) + string_value[-keep_last..-1] end def percent(num) - present?(num) ? format('%.2f %', num) : '' + present?(num) ? format('%.2f %%', num) : '' end def present?(value) !blank?(value) end