Sha256: e066e42f5b334a3d634db6fe1a33ea7494b68b270c4c58e9e73f06fc89887ed0
Contents?: true
Size: 197 Bytes
Versions: 2
Compression:
Stored size: 197 Bytes
Contents
module InlineSvg::TransformPipeline::Transformations class ViewBox < Transformation def transform(doc) with_svg(doc) do |svg| svg["viewBox"] = value end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
inline_svg-1.10.0 | lib/inline_svg/transform_pipeline/transformations/view_box.rb |
inline_svg-1.9.0 | lib/inline_svg/transform_pipeline/transformations/view_box.rb |