class Suspiciouss::Suggestions::ZeroUnits

Public Instance Methods

parse(line) click to toggle source
# File lib/suspiciouss/suggestions/zero_units.rb, line 5
def parse(line)
  "Don't add the unit if zero" if line =~ / (0px|0em|0rem|0%)/
end