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