class Middleman::Svg::TransformPipeline::Transformations::IdAttribute
Public Instance Methods
transform(doc)
click to toggle source
# File lib/middleman-svg/transform_pipeline/transformations/id_attribute.rb, line 3 def transform(doc) with_svg(doc) do |svg| svg["id"] = self.value end end