class InlineSvg::TransformPipeline::Transformations::Height

Public Instance Methods

transform(doc) click to toggle source
# File lib/inline_svg/transform_pipeline/transformations/height.rb, line 3
def transform(doc)
  with_svg(doc) do |svg|
    svg["height"] = self.value
  end
end