# File lib/scruffy/layers/base.rb, line 161 def relative_width(pct) if pct # Added to handle nils @width * (pct / 100.to_f) end end